Commit 7e36505d authored by Chris Wilson's avatar Chris Wilson

drm/i915: Stub out i915_gpu_coredump_put

i915_gpu_coreddump_put is currently only defined if
CONFIG_DRM_I915_CAPTURE_ERROR is enabled, provide a stub otherwise.
Reported-by: default avatarMike Lothian <mike@fireburn.co.uk>
Fixes: 742379c0 ("drm/i915: Start chopping up the GPU error capture")
Fixes: 74831738 ("drm/i915/execlists: Offline error capture")
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Mike Lothian <mike@fireburn.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: default avatarAndi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200124192255.541355-1-chris@chris-wilson.co.uk
parent 723196f4
...@@ -318,6 +318,10 @@ i915_error_state_store(struct i915_gpu_coredump *error) ...@@ -318,6 +318,10 @@ i915_error_state_store(struct i915_gpu_coredump *error)
{ {
} }
static inline void i915_gpu_coredump_put(struct i915_gpu_coredump *gpu)
{
}
static inline struct i915_gpu_coredump * static inline struct i915_gpu_coredump *
i915_first_error_state(struct drm_i915_private *i915) i915_first_error_state(struct drm_i915_private *i915)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment