Commit 0b94cb5
drm/amd/display: Add refresh rate range check
[ Upstream commit 74ad26b ]
[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 29e9518 commit 0b94cb5
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11289 | 11289 | | |
11290 | 11290 | | |
11291 | 11291 | | |
11292 | | - | |
11293 | 11292 | | |
11294 | 11293 | | |
| 11294 | + | |
| 11295 | + | |
| 11296 | + | |
11295 | 11297 | | |
11296 | 11298 | | |
11297 | 11299 | | |
| |||
0 commit comments