aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2019-07-31 13:45:16 +0000
committerAlex Deucher <[email protected]>2019-08-02 15:30:38 +0000
commit43d10d30df156f7834fa91aecb69614fefc8bb0a (patch)
tree38fc438eacabe70c09da3ddf7999792e472a8909 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/amd/display: Allow cursor async updates for framebuffer swaps (diff)
downloadkernel-43d10d30df156f7834fa91aecb69614fefc8bb0a.tar.gz
kernel-43d10d30df156f7834fa91aecb69614fefc8bb0a.zip
drm/amd/display: Skip determining update type for async updates
[Why] By passing through the dm_determine_update_type_for_commit for atomic commits that can be done asynchronously we are incurring a performance penalty by locking access to the global private object and holding that access until the end of the programming sequence. This is also allocating a new large dc_state on every access in addition to retaining all the references on each stream and plane until the end of the programming sequence. [How] Shift the determination for async update before validation. Return early if it's going to be an async update. Signed-off-by: Nicholas Kazlauskas <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: David Francis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions