]> Pileus Git - ~andy/linux/commit
drm/i915: Always clear semaphore mboxes on seqno wrap
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 19 Dec 2012 09:13:07 +0000 (11:13 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Dec 2012 10:17:41 +0000 (11:17 +0100)
commitba1a7067c00f4cbdd99b00a570ff072639ae59f2
tree2e56adfd55d938f53b8e70c9d896d4435c158a34
parentf7e98ad4d4a8afa043126a6f24d0a154a684e081
drm/i915: Always clear semaphore mboxes on seqno wrap

In preparation for setting the seqno to arbitrary value on init or
through debugfs. We need to always clear the semaphores and set the
hws page seqno index by calling intel_ring_init_seqno().

v2: rewrote the commit message as suggested by Chris Wilson.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c