summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_device_info.h
diff options
context:
space:
mode:
authorChris Wilson2019-01-03 12:21:04 +0100
committerChris Wilson2019-01-03 13:40:42 +0100
commit55277e1f3107c0b7f18aaa1572ab97081ccde57a (patch)
tree6246d6803b348bd700db03281a9239f24ca94fae /drivers/gpu/drm/i915/intel_device_info.h
parentdrm/i915: Show machine type in error state (diff)
downloadkernel-qcow2-linux-55277e1f3107c0b7f18aaa1572ab97081ccde57a.tar.gz
kernel-qcow2-linux-55277e1f3107c0b7f18aaa1572ab97081ccde57a.tar.xz
kernel-qcow2-linux-55277e1f3107c0b7f18aaa1572ab97081ccde57a.zip
drm/i915: Always try to reset the GPU on takeover
When we first introduced the reset to sanitize the GPU on taking over from the BIOS and before returning control to third parties (the BIOS!), we restricted it to only systems utilizing HW contexts as we were uncertain of how stable our reset mechanism truly was. We now have reasonable coverage across all machines that expose a GPU reset method, and so we should be safe to sanitize the GPU state everywhere. v2: We _have_ to skip the reset if it would clobber the display. 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/20190103112104.19561-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_device_info.h')
-rw-r--r--drivers/gpu/drm/i915/intel_device_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
index 76735869e32d..957c6527f76b 100644
--- a/drivers/gpu/drm/i915/intel_device_info.h
+++ b/drivers/gpu/drm/i915/intel_device_info.h
@@ -89,6 +89,7 @@ enum intel_ppgtt {
func(is_alpha_support); \
/* Keep has_* in alphabetical order */ \
func(has_64bit_reloc); \
+ func(gpu_reset_clobbers_display); \
func(has_reset_engine); \
func(has_fpga_dbg); \
func(has_guc); \