diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-17 17:59:01 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-18 10:44:20 +0000 |
commit | 4c9655436522eaf4ba35572851150ccb71f3866e (patch) | |
tree | 093957c23972628674a5da9a9876ff89d9bf8993 /drivers/vfio | |
parent | 77affa31722be7c584b4b1be792423079e64a47d (diff) |
drm/i915: Move engine reset preparation to i915_gem_reset_prepare()
Now that we have prepare/finish routines for the GEM reset, move the
disabling of the engine->irq_tasklet into them to reduce repetition. The
device irq enable/disable is split out to ensure it is run first and
last always (even if the GPU reset fails).
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/1484668747-9120-1-git-send-email-mika.kuoppala@intel.com
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions