aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2017-03-28 07:01:45 +0000
committerDaniel Vetter <[email protected]>2017-03-29 07:51:02 +0000
commit2c77bb29d3985e73f8c780cfd20fdb2f491943ee (patch)
tree4de4a71730d09a18737bb1ec6e25fdcabc8369b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdrm/atomic-helper: remove backoff hack from page_flip (diff)
downloadkernel-2c77bb29d3985e73f8c780cfd20fdb2f491943ee.tar.gz
kernel-2c77bb29d3985e73f8c780cfd20fdb2f491943ee.zip
drm: simplify the locking in the GETCRTC ioctl
No need to grab both plane and crtc locks at the same time, we can do them one after the other. If userspace races it'll get what it deserves either way. This removes another user of drm_modeset_lock_crtc. There's only one left. v2: Make sure all access to primary->state is properly protected (Harry). Cc: Harry Wentland <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions