OSDN Git Service

drm/i915/execlists: Split out CSB processing
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 May 2018 18:33:53 +0000 (19:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 May 2018 19:20:38 +0000 (20:20 +0100)
commit73377dbcc754f1e673b60f238c237c5e909f92b1
treea5f9b0c74f5a1ded8efcf1154421c69f2418effa
parent1329115c6c4370e93813b44084ee06610c3279bd
drm/i915/execlists: Split out CSB processing

Pull the CSB event processing into its own routine so that we can reuse
it during reset to flush any missed interrupts/events.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
CC: Michel Thierry <michel.thierry@intel.com>
Cc: Jeff McGee <jeff.mcgee@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180516183355.10553-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c