Zhang Xiaoxu 5422d87d2c drm/i915: Fix too few arguments to function i915_capture_error_state
If 'CONFIG_DRM_I915_CAPTURE_ERROR' not configured, there is an error
when compile the kernel:

drivers/gpu/drm/i915/gt/intel_reset.c:
	In function intel_gt_handle_error:
drivers/gpu/drm/i915/gt/intel_reset.c:1233:3:
	error: too few arguments to function i915_capture_error_state
   i915_capture_error_state(gt->i915);
   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included
         from ./drivers/gpu/drm/i915/i915_drv.h:97:0,
         from ./drivers/gpu/drm/i915/display/intel_display_types.h:46,
         from drivers/gpu/drm/i915/gt/intel_reset.c:10:
./drivers/gpu/drm/i915/i915_gpu_error.h:267:20: note: declared here
 static inline void i915_capture_error_state(struct drm_i915_private *dev_priv,

Fixes: 742379c0c400 ("drm/i915: Start chopping up the GPU error capture")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200113081942.15982-1-zhangxiaoxu5@huawei.com
2020-01-13 20:57:05 +00:00
..
2020-01-03 11:43:44 +10:00
2020-01-03 11:43:44 +10:00
2019-12-17 13:57:54 +01:00
2019-11-20 17:40:32 +01:00
2020-01-03 11:43:44 +10:00
2020-01-03 11:43:44 +10:00
2020-01-03 11:43:44 +10:00
2019-12-17 13:57:54 +01:00
2019-12-17 13:57:54 +01:00
2019-12-17 13:57:54 +01:00
2019-12-17 13:57:54 +01:00
2020-01-03 11:43:44 +10:00
2019-12-17 13:57:54 +01:00
2019-12-17 13:57:54 +01:00
2019-12-11 17:02:17 +01:00
2019-11-14 05:53:10 +10:00
2019-12-17 13:57:54 +01:00
2019-11-19 22:25:55 +01:00
2019-11-27 17:45:48 -08:00
2019-10-08 18:29:00 +02:00
2019-12-17 13:57:54 +01:00
2019-12-27 15:25:04 +10:00
2019-12-17 13:57:54 +01:00
2019-12-27 15:25:04 +10:00