]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Reset engine->last_submitted_seqno
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Apr 2016 06:29:16 +0000 (07:29 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Apr 2016 10:44:22 +0000 (11:44 +0100)
commit01347126f4e2a346bf37fe264570563b0fab6618
treef26887dad447c52eefde994d3f71ec79ccea7c86
parenta058d9348244047189ff1aabaeb2ebcffa899cb3
drm/i915: Reset engine->last_submitted_seqno

When we change the current seqno, we also need to remember to reset the
last_submitted_seqno for the engine.

Testcase: igt/gem_exec_whisper
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: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460010558-10705-7-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c