summaryrefslogtreecommitdiff
path: root/drivers/scsi/fcoe
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-05-18 12:02:11 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2018-05-19 14:50:58 +0300
commitfe0c493538f42ee1cbc4701dc6f9eb2b82d856cf (patch)
tree22932e4c65bf5a19ac8a233fd16fc10c16017cc3 /drivers/scsi/fcoe
parentd6d12ec081776bdea7e0ad58f2a7e7f92e414e7f (diff)
downloadlinux-fe0c493538f42ee1cbc4701dc6f9eb2b82d856cf.tar.xz
drm/i915/execlists: Handle copying default context state for atomic reset
We want to be able to reset the GPU from inside a timer callback (hardirq context). One step requires us to copy the default context state over to the guilty context, which means we need to plan in advance to have that object accessible from within an atomic context. The atomic context prevents us from pinning the object or from peeking into the shmemfs backing store (all may sleep), so we choose to pin the default_state into memory when the engine becomes active. This compromise allows us to swap out the default state when idle, when required. References: 5692251c254a ("drm/i915/lrc: Scrub the GPU state of the guilty hanging request") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180518090212.5349-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/scsi/fcoe')
0 files changed, 0 insertions, 0 deletions