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)
commit050790cc59732cd99789235cb118df23e9b42911
tree66e7e717a89fed0fab2d28601279f117d625bfde
parentff6014d63a87d9a801ddd9ddd10359b2dead6943
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