If intel context create failed, the perf_request_latency() will return 0
rather than error, because we doesn't initialize the return value.
Fixes: 25c26f18ea79 ("drm/i915/selftests: Measure dispatch latency")
Reported-by: Hulk Robot
Signed-off-by: Zhang Xiaoxu
---
drive
If intel context create failed, the perf_series_engines() will return 0
rather than error, because we doesn't initialize the return value.
Fixes: cbfd3a0c5a55 ("drm/i915/selftests: Add request throughput measurement to
perf")
Reported-by: Hulk Robot
Signed-off-by: Zhang Xiaoxu
-
compile error. This patch fix it.
Reported-by: Hulk Robot
Signed-off-by: Zhang Xiaoxu
---
drivers/gpu/drm/i915/i915_gpu_error.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.h
b/drivers/gpu/drm/i915/i915_gpu_error.h
index 910900495
sequence block (v3)")
Reported-by: Hulk Robot
Signed-off-by: Zhang Xiaoxu
---
drivers/gpu/drm/i915/display/intel_dsi_vbt.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dsi_vbt.c
b/drivers/gpu/drm/i915/display/intel_dsi_vb
5_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
Signed-off-by: Zhang Xiaoxu
---
drivers/gpu/drm/i915/i915_gpu_e
/drm/i915/i915_drv.o:
./drivers/gpu/drm/i915/i915_gpu_error.h:312: first defined here
So, add 'static inline' on the defineation of the 'i915_vma_capture_finish'
Fixes: d713e3ab93fdc("drm/i915: Correct typo in i915_vma_compress_finish stub")
Reported-by: Hulk Ro