linux/drivers/gpu/drm/amd/display/amdgpu_dm
Shirish S 4de9f38bb2 drm/amd/display: release spinlock before committing updates to stream
Currently, amdgpu_do_flip() spinlocks crtc->dev->event_lock and
releases it only after committing updates to the stream.

dc_commit_updates_for_stream() should be moved out of
spinlock for the below reasons:

1. event_lock is supposed to protect access to acrct->pflip_status _only_
2. dc_commit_updates_for_stream() has potential sleep's
   and also its not appropriate to be  in an atomic state
   for such long sequences of code.

Signed-off-by: Shirish S <shirish.s@amd.com>
Suggested-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2018-06-27 14:35:53 -05:00
..
amdgpu_dm_color.c drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
amdgpu_dm_crc.c drm/amd/display: Skip 2 frames when first reading CRC 2018-02-19 14:20:11 -05:00
amdgpu_dm_helpers.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
amdgpu_dm_irq.c drm/amd/display: Do not program interrupt status on disabled crtc 2018-05-29 13:30:38 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Don't return ddc result and read_bytes in same return value 2018-05-15 13:44:16 -05:00
amdgpu_dm_mst_types.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
amdgpu_dm_services.c drm/amdgpu/display: check if ppfuncs exists before using it 2018-05-30 12:38:05 -05:00
amdgpu_dm.c drm/amd/display: release spinlock before committing updates to stream 2018-06-27 14:35:53 -05:00
amdgpu_dm.h drm/admgpu: fix mode_valid's return type 2018-05-15 13:43:51 -05:00
Makefile drm/amd/display: Implement color management 2018-02-19 14:20:06 -05:00