aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-04-15 05:10:39 +0000
committerDave Airlie <[email protected]>2016-04-22 00:42:25 +0000
commitc7e1c59a18ef84df09c06bd484e4ee470f839f92 (patch)
tree7caf1eed8c28e95ea8ac04912df93770f7877045 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/mode: reduce scope of fb_lock in framebuffer init (diff)
downloadkernel-c7e1c59a18ef84df09c06bd484e4ee470f839f92.tar.gz
kernel-c7e1c59a18ef84df09c06bd484e4ee470f839f92.zip
drm/mode: reduce lock hold in addfb2
No need to hold the lock while assigning the variable. Daniel wrote: "Not sure why exactly I put that under the lock, but the only thing that can race here is rmfb while addfb2 is still doing it's thing, with a correctly guess (easy to do since they're fully deterministic) fb_id." Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions