aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2013-06-12 15:01:39 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-06-13 17:42:16 +0200
commit7d736f4f0b405b1421d280632ef077eb8135e5c6 (patch)
tree04cf2d83ac8f424626be5d470bbec694ad8b869d /drivers/gpu/drm/i915/i915_irq.c
parentdrm/i915: change i915_add_request to macro (diff)
downloadlinux-dev-7d736f4f0b405b1421d280632ef077eb8135e5c6.tar.xz
linux-dev-7d736f4f0b405b1421d280632ef077eb8135e5c6.zip
drm/i915: add batch bo to i915_add_request()
In order to track down a batch buffer and context which caused the ring to hang, store reference to bo into the request struct. Request can also cause gpu to hang after the batch in the flush section in the ring. To detect this add start of the flush portion offset into the request. v2: Included comment about request vs batch_obj lifetimes (Chris Wilson) Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
0 files changed, 0 insertions, 0 deletions