drm/i915: Reset semaphore page for gen8
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Apr 2016 06:29:15 +0000 (07:29 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Apr 2016 10:43:59 +0000 (11:43 +0100)
commita058d9348244047189ff1aabaeb2ebcffa899cb3
tree24c2d5c208f1fc2cdb52404fe358ae8698f90d1a
parent8c12672ee2d386924c65c3bbb30bf0da415b2918
drm/i915: Reset semaphore page for gen8

An oversight is that when we wrap the seqno, we need to reset the hw
semaphore counters to 0. We did this for gen6 and gen7 and forgot to do
so for the new implementation required for gen8 (legacy).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460010558-10705-6-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c