OSDN Git Service

drm/i915: Make all GPU resets atomic
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Jan 2019 13:22:26 +0000 (13:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Jan 2019 14:27:20 +0000 (14:27 +0000)
commitade8a0f59844349650514f608eb1da5280f7818b
tree4681e92760bd0fd249e8cb130ddda80a66104cec
parent832a67bdb205765109d37fdfff4a97479b03b19b
drm/i915: Make all GPU resets atomic

In preparation for the next few commits, make resetting the GPU atomic.
Currently, we have prepared gen6+ for atomic resetting of individual
engines, but now there is a requirement to perform the whole device
level reset (just the register poking) from inside an atomic context.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190125132230.22221-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_reset.c