From: Mika Kuoppala Date: Wed, 12 Jun 2013 12:01:39 +0000 (+0300) Subject: drm/i915: add batch bo to i915_add_request() X-Git-Tag: v3.11-rc1~65^2~61^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d736f4f0b405b1421d280632ef077eb8135e5c6;p=pandora-kernel.git 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 Reviewed-by: Chris Wilson Acked-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed