Home
last modified time | relevance | path

Searched hist:"968029057192 e46dd78e807b81c2aba2d7648c38" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/
H A Ddrm_lease.cdiff 968029057192e46dd78e807b81c2aba2d7648c38 Mon Nov 05 11:12:11 CET 2018 Daniel Vetter <daniel.vetter@ffwll.ch> 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