summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-30 11:30:00 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-05 12:56:51 +0400
commitb77f69978cc954fb3f0944d26a217a78b964b85f (patch)
treef153559884606399891a0749d0ebfe5d5dabafc3 /drivers/gpu/drm/i915/intel_ringbuffer.h
parenta225f0795714efbbd1b558e1be4dc368d038e105 (diff)
downloadlinux-b77f69978cc954fb3f0944d26a217a78b964b85f.tar.xz
drm/i915: Avoid NULL ctx->obj dereference in debugfs/i915_context_info
In commit 691e6415c891b8b2b082a120b896b443531c4d45 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Apr 9 09:07:36 2014 +0100 drm/i915: Always use kref tracking for all contexts. we populated fake contexts on all platforms. These were identical to the full hardware context tracking structs, except for the ctx->obj used to store the hardware state. However, there remained one place where we assumed that if a context existed, it would have an object associated with it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77717 Testcase: igt/drv_suspend/debugfs-reader Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
0 files changed, 0 insertions, 0 deletions