diff options
| author | Michel Dänzer <[email protected]> | 2025-07-30 08:09:02 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-08-04 19:43:58 +0000 |
| commit | 3477c1b0972dc1c8a46f78e8fb1fa6966095b5ec (patch) | |
| tree | e31452099c95952bc0cdb6da9dcb2d8d84258c15 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | drm/amdgpu: update mmhub 3.3 client id mappings (diff) | |
| download | kernel-3477c1b0972dc1c8a46f78e8fb1fa6966095b5ec.tar.gz kernel-3477c1b0972dc1c8a46f78e8fb1fa6966095b5ec.zip | |
drm/amd/display: Add primary plane to commits for correct VRR handling
amdgpu_dm_commit_planes calls update_freesync_state_on_stream only for
the primary plane. If a commit affects a CRTC but not its primary plane,
it would previously not trigger a refresh cycle or affect LFC, violating
current UAPI semantics.
Fixes e.g. atomic commits affecting only the cursor plane being limited
to the minimum refresh rate.
Don't do this for the legacy cursor ioctls though, it would break the
UAPI semantics for those.
Suggested-by: Xaver Hugl <[email protected]>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3034
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit cc7bfba95966251b254cb970c21627124da3b7f4)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions
