OSDN Git Service

drm/i915: Record the position of the workarounds in the tail of the request
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:11:43 +0000 (14:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:23:00 +0000 (14:23 +0100)
commita52abd2facfe8add456a075c2d9e254db071bf85
tree63b06d7be33a4c35117fe062265aaae21d93c028
parentba49b2f8237b0241fb86660812c0b235580ac182
drm/i915: Record the position of the workarounds in the tail of the request

Rather than blindly assuming we need to advance the tail for
resubmitting the request via the ELSP, record the position.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160909131201.16673-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.h
drivers/gpu/drm/i915/intel_lrc.c