drm/amd/display: Correct values in AVI infoframe
authorWayne Lin <Wayne.Lin@amd.com>
Tue, 3 Sep 2019 22:12:22 +0000 (06:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:24:33 +0000 (19:24 -0500)
commit1cb1d47741bf02d7fd570aab11103041cd512a5d
tree747f58a132b2f0d1e2e8671679bb96ab22b272dd
parent90d268741f74f7852ebc295c96212c6e992b2078
drm/amd/display: Correct values in AVI infoframe

[Why]
While displaying 4k modes defined in HDMI1.4b, should set VIC to 0
and use VSP HDMI_VIC to indicate the mode.

[How]
Use functions defined in drm to set up the VIC correspondingly.

Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c