diff options
author | Tom Chung <chiahsuan.chung@amd.com> | 2024-06-19 09:03:55 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-01 23:06:54 +0300 |
commit | 9023ec5d55f3991aaa76f3c87a6fc4552e776172 (patch) | |
tree | 81876ec9c4924362b1346a3b490c370f5bba1f14 /drivers/gpu/drm/amd/display/dc/dce | |
parent | aa08d1143890ead78d28a5286fd53b45907743fc (diff) | |
download | linux-9023ec5d55f3991aaa76f3c87a6fc4552e776172.tar.xz |
drm/amd/display: Add refresh rate range check
[Why]
We only enable the VRR while monitor usable refresh rate range
is greater than 10 Hz.
But we did not check the range in DRM_EDID_FEATURE_CONTINUOUS_FREQ
case.
[How]
Add a refresh rate range check before set the freesync_capable flag
in DRM_EDID_FEATURE_CONTINUOUS_FREQ case.
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce')
0 files changed, 0 insertions, 0 deletions