]> git.hungrycats.org Git - linux/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2024 07:53:38 +0000 (09:53 +0200)
commit566db3743699e19545206292636c807f36148717
treea071c3245a8b473ff604a8f12a00939364be6115
parent4f9467d0623eef1b77944b6a1f90c180c4458559
drm/amd/display: Fix refresh rate range for some panel

[ Upstream commit 9ef1548aeaa8858e7aee2152bf95cc71cdcd6dff ]

[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c