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:53 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-07-26 13:01:00 +0100
commitf67cbce0f18299b70da776a5d699125b06523700 (patch)
tree68f0eb746a3f94f901a29c9d45f80cc742f06eb4 /drivers/gpu/drm/i915/intel_ringbuffer.h
parent15f7bbc7351da8a5568c75ac09f142da78077a1d (diff)
downloadkernel_replicant_linux-f67cbce0f18299b70da776a5d699125b06523700.tar.gz
kernel_replicant_linux-f67cbce0f18299b70da776a5d699125b06523700.tar.bz2
kernel_replicant_linux-f67cbce0f18299b70da776a5d699125b06523700.zip
drm/i915: Only drop the batch-pool's object reference
The obj->batch_pool_link is only inspected when traversing the batch pool list and when on the batch pool list the object is referenced. Thus when freeing the batch pool list, we only need to unreference the object and do not have to worry about the obj->batch_pool_link. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1469432687-22756-5-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-4-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