Star64_linux/drivers/gpu/drm/amd/display/amdgpu_dm
Nicholas Kazlauskas 43d10d30df 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 <nicholas.kazlauskas@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: David Francis <david.francis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-02 10:30:38 -05:00
..
amdgpu_dm.c drm/amd/display: Skip determining update type for async updates 2019-08-02 10:30:38 -05:00
amdgpu_dm.h drm/amd/display: add functionality to grab DPRX CRC entries. 2019-07-18 14:18:09 -05:00
amdgpu_dm_color.c drm/amd/display: Rework CRTC color management 2019-06-22 09:34:13 -05:00
amdgpu_dm_crc.c drm/amd/display: add pipe CRC sources without disabling dithering. 2019-07-18 14:27:25 -05:00
amdgpu_dm_crc.h drm/amd/display: add pipe CRC sources without disabling dithering. 2019-07-18 14:27:25 -05:00
amdgpu_dm_debugfs.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_dm_debugfs.h amdgpu_dm: no need to check return value of debugfs_create functions 2019-06-13 13:59:49 -05:00
amdgpu_dm_helpers.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_dm_irq.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Respect aux return values 2019-03-19 15:04:02 -05:00
amdgpu_dm_mst_types.h
amdgpu_dm_pp_smu.c drm/amd/display: Use switch table for dc_to_smu_clock_type 2019-08-02 10:17:57 -05:00
amdgpu_dm_services.c drm/amd: drop use of drmP.h in display/ 2019-06-10 23:00:20 +02:00
amdgpu_dm_trace.h
Makefile