aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-07-26 12:01:52 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-07-26 13:00:59 +0100
commit15f7bbc7351da8a5568c75ac09f142da78077a1d (patch)
treea1703c9018e016332ab026bed7bb215aa2b0cae5 /drivers/gpu/drm/i915/intel_ringbuffer.h
parent2a1d775201081c400d7e60ceb8e5ac887d11b1f7 (diff)
downloadkernel_replicant_linux-15f7bbc7351da8a5568c75ac09f142da78077a1d.tar.gz
kernel_replicant_linux-15f7bbc7351da8a5568c75ac09f142da78077a1d.tar.bz2
kernel_replicant_linux-15f7bbc7351da8a5568c75ac09f142da78077a1d.zip
drm/i915: Only clear the client pointer when tearing down the file
Upon release of the file (i.e. the user calls close(fd)), we decouple all objects from the client list so that we don't chase the dangling file_priv. As we always inspect file_priv first, we only need to nullify that pointer and can safely ignore the list_head. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1469432687-22756-4-git-send-email-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1469530913-17180-3-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
0 files changed, 0 insertions, 0 deletions