summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-10-04 23:11:27 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2016-10-05 10:40:05 +0300
commitc87d50cc9fcc634e09d239e6d10293319eafae5f (patch)
tree12b5ff2a076b019a3b61e3a2927546910b05a1fb /include
parenta3aabe86a3406b9946a4f7707762a833a58dfe9c (diff)
downloadlinux-c87d50cc9fcc634e09d239e6d10293319eafae5f.tar.xz
drm/i915/execlists: Move clearing submission count from reset to init
After a GPU reset, we want to replay our queue of requests. However, the GPU reset clobbered the state and we only fixup the state for the guilty request - and engines deemed innocent we try to leave untouched so that we recover as completely as possible. However, we need to clear the sw tracking of the ELSP ports even for innocent requests, so move the clear to the common path of init_hw (from reset_hw). Reported-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161004201132.21801-3-chris@chris-wilson.co.uk
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions