drm/amd/display: Reset VIC if HDMI_VIC is present
authorChris Park <Chris.Park@amd.com>
Tue, 15 Feb 2022 22:14:16 +0000 (17:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2022 23:40:05 +0000 (18:40 -0500)
commit4affb123033851381dcff4887982f6c7bad938af
tree37283b687cf497e28b42024e6348bf8e531a7f77
parent6dc0fded62806373855350ec8c3ccb1567ddd465
drm/amd/display: Reset VIC if HDMI_VIC is present

[Why]
HDMI Compliance requires VIC to be set to 0
on 2D mode if HDMI_VIC is present.

[How]
When VIC and HDMI_VIC is both present,
reset VIC to 0.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Chris Park <Chris.Park@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/core/dc_resource.c