diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2019-03-29 13:00:53 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-04-03 10:00:32 -0500 |
commit | e854194c8b6e27b970f3f993909451d9cc26a21e (patch) | |
tree | 193beda6a99795864da9cb812f8641b6603847dc /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | e178f10726d136e54080a43382b858020ea694a3 (diff) |
drm/amd/display: Update VRR state earlier in atomic_commit_tail.
We need the VRR active/inactive state info earlier in
the commit sequence, so VRR related setup functions like
amdgpu_dm_handle_vrr_transition() know the final VRR state
when they need to do their hw setup work.
Split update_freesync_state_on_stream() into an early part,
that can run at the beginning of commit tail before the
vrr transition handling, and a late part that must run after
vrr transition handling inside the commit planes code for
enabled crtc's.
Suggested by Nicholas Kazlauskas.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions