summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gpu_error.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-01-10 15:30:59 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2020-01-10 18:34:33 +0300
commit1a8585bd774c4058038ad827c9e93847ff509cf3 (patch)
tree340d649e08d92fcc5098b45a39b3cd7da7f43f2c /drivers/gpu/drm/i915/i915_gpu_error.h
parenta0d5d0c804321b172f4b0def3723581b41632458 (diff)
downloadlinux-1a8585bd774c4058038ad827c9e93847ff509cf3.tar.xz
drm/i915: Drop request list from error state
The list of requests from after the hang tells little about the hang itself, only how busy userspace was after the fact. As it pertains nothing to the HW state, drop it from the error state. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Andi Shyti <andi.shyti@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200110123059.1348712-4-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gpu_error.h')
-rw-r--r--drivers/gpu/drm/i915/i915_gpu_error.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.h b/drivers/gpu/drm/i915/i915_gpu_error.h
index 8f4579d64d8c..b87f39291c07 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.h
+++ b/drivers/gpu/drm/i915/i915_gpu_error.h
@@ -60,7 +60,6 @@ struct intel_engine_coredump {
const struct intel_engine_cs *engine;
bool simulated;
- int num_requests;
u32 reset_count;
/* position of active request inside the ring */
@@ -96,7 +95,7 @@ struct intel_engine_coredump {
struct i915_vma_coredump *vma;
- struct i915_request_coredump *requests, execlist[EXECLIST_MAX_PORTS];
+ struct i915_request_coredump execlist[EXECLIST_MAX_PORTS];
unsigned int num_ports;
struct {