]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fix refresh rate range for some panel
authorTom Chung <chiahsuan.chung@amd.com>
Fri, 14 Jun 2024 07:38:56 +0000 (15:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 20:10:35 +0000 (16:10 -0400)
commita638b837d0e6052678a686d42018271042e38408
treeba81953e021ac92d6909c3bc1f357ad2fe146572
parent9ff3ba3e769361ebc22e59c76b18bc67427b541f
drm/amd/display: Fix refresh rate range for some panel

[Why]
Some of the panels does not have the refresh rate range info
in base EDID and only have the refresh rate range info in
DisplayID block.
It will cause the max/min freesync refresh rate set to 0.

[How]
Try to parse the refresh rate range info from DisplayID if the
max/min refresh rate is 0.

Reviewed-by: Sun peng Li <sunpeng.li@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c