]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add ENGINE_ID_DIGD condition check for Navi14
authorZhan Liu <zhan.liu@amd.com>
Sat, 2 Nov 2019 01:10:17 +0000 (21:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Nov 2019 20:31:19 +0000 (15:31 -0500)
commitbc7f789d54720170c38e4fa72eede4bb377f0930
tree020f44e5e03080b2daf9b75acbb0e4966c5fa3f8
parente4654059c2144b215b05f2b551ff11b83d2d0467
drm/amd/display: Add ENGINE_ID_DIGD condition check for Navi14

[Why]
Navi10 has 6 PHY, but Navi14 only has 5 PHY, that is
because there is no ENGINE_ID_DIGD in Navi14. Without
this patch, many HDMI related issues (e.g. HDMI S3
resume failure, HDMI pink screen on boot) will be
observed.

[How]
If "eng_id" is larger than ENGINE_ID_DIGD, then
add "eng_id" by 1.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c