]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: HWACK checking superseded checking port[0].count
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 May 2018 11:56:47 +0000 (12:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 May 2018 17:02:02 +0000 (18:02 +0100)
commit31a4026f7381d8167a47421d7846da74785b7e5f
treea5ed9f1cb10b55affb18e0d45d191545db60eb63
parent2dfe358b8351d0c8368d4da3244619415cf3c53b
drm/i915/execlists: HWACK checking superseded checking port[0].count

The HWACK bit more generically solves the problem of resubmitting ESLP
while the hardware is still processing the current ELSP write. We no
longer need to check port[0].count itself.

References: e09fe273fb06 ("drm/i915/execlists: Delay writing to ELSP until HW has processed the previous write")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180517115647.17205-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c