linux_dsm_epyc7002/drivers/gpu/drm/amd/display
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 drm/amd/display: release spinlock before committing updates to stream 2018-06-27 14:35:53 -05:00
dc amd fixes for 4.18-rc1 2018-06-15 17:20:53 +09:00
include drm/amd/display: fix dscl_manual_ratio_init 2018-05-29 13:28:29 -05:00
modules treewide: kvzalloc() -> kvcalloc() 2018-06-12 16:19:22 -07:00
Kconfig drm/amdgpu/display: remove VEGA20 config option 2018-05-18 16:08:18 -05:00
Makefile drm/amd: Remove inclusion of non-existing include directories 2018-02-26 23:09:38 -05:00
TODO drm/amd/display: Add TODO item to remove vector.c 2017-12-14 11:01:13 -05:00