aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorShirish S <[email protected]>2018-06-26 04:02:39 +0000
committerAlex Deucher <[email protected]>2018-06-27 19:35:53 +0000
commit4de9f38bb2cce3a4821ffb8a83d6b08f6e37d905 (patch)
tree4fb926bcbb205c244d571ffc8942e7670e73b3cc /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentdrm/amdgpu:Support new VCN FW version naming convention (diff)
downloadkernel-4de9f38bb2cce3a4821ffb8a83d6b08f6e37d905.tar.gz
kernel-4de9f38bb2cce3a4821ffb8a83d6b08f6e37d905.zip
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 <[email protected]> Suggested-by: Andrey Grodzovsky <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions