[Intel-gfx] [PATCH v2 3/4] drm/i915: Introduce i915_gem_set_seqno()

2012-12-19 Thread Mika Kuoppala
This function can be used to set the driver's next_seqno to arbitrary value. i915_gem_set_seqno() will idle the gpu, retire outstanding requests, clear the semaphore mailboxes and set the hardware status page's seqno index. Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_drv.h |4

[Intel-gfx] [PATCH v2 3/4] drm/i915: Introduce i915_gem_set_seqno()

2012-12-18 Thread Mika Kuoppala
This function can be used to set the driver's next_seqno to arbitrary value. i915_gem_set_seqno() will idle the gpu, retire outstanding requests, clear the semaphore mailboxes and set the hardware status page's seqno index. Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_drv.h |4