]> www.infradead.org Git - users/hch/dma-mapping.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:51:15 +0000 (16:51 -0400)
commit9ef1548aeaa8858e7aee2152bf95cc71cdcd6dff
tree45ad805a0dce34b06aefcd05bb5677bc6e8829af
parent074b3a886713f69d98d30bb348b1e4cb3ce52b22
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