diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-11-05 11:12:11 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-11-06 18:23:31 +0100 |
commit | 968029057192e46dd78e807b81c2aba2d7648c38 (patch) | |
tree | 4684107a3ebcb451fdbaf40c94d658d2f09bbc0b /mm | |
parent | 078b7de41249b989a574339078696663e095cf37 (diff) | |
download | linux-968029057192e46dd78e807b81c2aba2d7648c38.tar.bz2 |
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 <keithp@keithp.com>
Cc: Dave Airlie <airlied@gmail.com>
Acked-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181105101211.22737-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions