OSDN Git Service

drm/amd/display: Avoid sending abnormal VSIF
authorWayne Lin <Wayne.Lin@amd.com>
Mon, 21 Oct 2019 05:24:36 +0000 (13:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:07 +0000 (16:50 -0400)
commitacf83f86b2e1dd39fdc4e5e7072aaf21d0563558
tree120bdb1c0ddf1c54ce43c5902a158d6a64768c3d
parent7890fb20a83b31cb737ca9658fc35df111cf6a81
drm/amd/display: Avoid sending abnormal VSIF

[Why]
While setting hdmi_vic, hv_frame.vic is not initialized and might
assign a wrong value to hdmi_vic. Cause to send out VSIF with
abnormal value.

[How]
Initialize hv_frame and avi_frame

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