aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2018-11-05 10:12:11 +0000
committerDaniel Vetter <[email protected]>2018-11-06 17:23:31 +0000
commit968029057192e46dd78e807b81c2aba2d7648c38 (patch)
tree4684107a3ebcb451fdbaf40c94d658d2f09bbc0b /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/file: Uncompact the feature flags (diff)
downloadkernel-968029057192e46dd78e807b81c2aba2d7648c38.tar.gz
kernel-968029057192e46dd78e807b81c2aba2d7648c38.zip
drm/lease: look at ->universal_planes only once
It's lockless, and userspace might chance it underneath us. That's not really a problem, all userspace gets is a slightly dysfunctional lease with the current code. But this might change, and gcc might decide to reload a few too many times, and then boom. So better safe than sorry. v2: Remove the now unused lessor_priv argument from validate_lease() (Keith). v3: Actually add everything ... silly me. Cc: Keith Packard <[email protected]> Cc: Dave Airlie <[email protected]> Acked-by: Keith Packard <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions