drm/amd/display: reset the scaler boundary mode
authorZhikai Zhai <zhikai.zhai@amd.com>
Mon, 27 Feb 2023 11:39:35 +0000 (19:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Mar 2023 19:34:57 +0000 (15:34 -0400)
commit98ef34186286c457b7fe6a73ece9b279438d645d
tree2e66fbf370ba809643219d35496dc7f54c897880
parentcd487b6d506329917bdd2a594b307aa469a53872
drm/amd/display: reset the scaler boundary mode

[WHY]
The VBIOS select the black boundary mode when using auto
scale mode. But it doesn't recover if there is no reset.

[HOW]
Clean the scaler boundary mode to default edge in the manual
scale mode.

Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Zhikai Zhai <zhikai.zhai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.h