drm/i915: add context into request struct
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 2 May 2013 13:48:08 +0000 (16:48 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 May 2013 09:21:51 +0000 (11:21 +0200)
commit0e50e96bf2d89c3415cb68aead301f485938f1ca
tree236c4dc86081d2e82436f4900569b915bf07dd6d
parent112522f6789581824903f6f72082b5b841a7f0f9
drm/i915: add context into request struct

Storing context reference into request struct
allows us to inspect context and its associated
objects when requests are retired.

Both ppgtt and arb robustness work will need
this.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c