]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix bug that causes black screen
authorAnthony Koo <Anthony.Koo@amd.com>
Thu, 5 Apr 2018 01:04:42 +0000 (21:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:53 +0000 (11:10 -0500)
commite1bd35575daf08ab08af7315753dcc65517b5811
tree66e7e717a89fed0fab2d28601279f117d625bfde
parenta11c9b74abf622b4c7ed895926bb88df6c102001
drm/amd/display: Fix bug that causes black screen

Ignore MSA bit on DP display is usually set during SetTimings, but
there was a case where the module thought refresh rate was not valid
and ignore MSA bit was not set.

Later, a valid refresh rate range was requested but since ignore MSA bit
not set, it caused black screen.

Issue if with how the module checked for VRR support. Fix up that logic.
DM should call new valid_range function to determine if timing is supported.

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c