]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Change min_h_sync_width from 8 to 4
authorFatemeh Darbehani <fatemeh.darbehani@amd.com>
Fri, 21 Jun 2019 21:44:50 +0000 (17:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:10 +0000 (14:18 -0500)
commit75a937ed7602da46e3b771274f3c65197c42e196
tree87979c12fff0c6bebfa82e31fedf31f6c6ab3dd1
parent65359bbb581e701a28ab65758d2edaaf4cef64ee
drm/amd/display: Change min_h_sync_width from 8 to 4

[Why]
Some display's hsync width is lower than the minimum dcn20 is set
to support right now. This will cause optc1_validate_timing to fail which
eventually will result in wrong set mode. This was set to 8 as per
HW team's request for no valid reason.

[How]
Changing min_h_sync_width to 4 will let us validate timing for
preffered mode and light up the headset. This change was made
to Vega 10 before for a similar issue.

Signed-off-by: Fatemeh Darbehani <fatemeh.darbehani@amd.com>
Reviewed-by: Joshua Aberback <Joshua.Aberback@amd.com>
Acked-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c