aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2015-07-15 17:09:38 +0000
committerRussell King <[email protected]>2015-09-15 15:26:50 +0000
commit709ffd82fc6ff760dc3a7f71bdf26d78a8e3caf0 (patch)
treea728a5823f6e33e0897d38b6e426f28149e27220 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/armada: disable CRTC clock during DPMS (diff)
downloadkernel-709ffd82fc6ff760dc3a7f71bdf26d78a8e3caf0.tar.gz
kernel-709ffd82fc6ff760dc3a7f71bdf26d78a8e3caf0.zip
drm/armada: redo locking and atomics for armada_drm_crtc_complete_frame_work()
We can do better with armada_drm_crtc_complete_frame_work() - we can avoid taking the event lock unless a call to drm_send_vblank_event() is required, and using cmpxchg() and xchg(), we can eliminate the locking around dcrtc->frame_work entirely. Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions