aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2015-07-15 17:11:24 +0000
committerRussell King <[email protected]>2015-10-01 13:32:52 +0000
commit66377efa3fd468283a092f17692e81c2344b03ed (patch)
tree602c3b33b5c330dc20495cba33179ce7c53563ee /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/armada: factor out retirement of old fb (diff)
downloadkernel-66377efa3fd468283a092f17692e81c2344b03ed.tar.gz
kernel-66377efa3fd468283a092f17692e81c2344b03ed.zip
drm/armada: use xchg() to atomically update dplane->old_fb
Rather than using a spinlock, use xchg() to atomically update dplane->old_fb. This allows us to eliminate dplane->lock. 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