aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gt/intel_lrc.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-11-19 16:56:12 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-11-19 20:31:04 +0000
commit1f0e785a9cc09b430d0fbe4e9ac438d43c245815 (patch)
tree71d39a37df17c4245e64c570fbb3822874f8a4b0 /drivers/gpu/drm/i915/gt/intel_lrc.h
parentdrm/i915/gt: Include semaphore status in print_request() (diff)
downloadlinux-dev-1f0e785a9cc09b430d0fbe4e9ac438d43c245815.tar.xz
linux-dev-1f0e785a9cc09b430d0fbe4e9ac438d43c245815.zip
drm/i915: Lift i915_request_show()
Extract i915_request_show for reuse in other request chain pretty printers. For a bonus point, quietly change the seqno format from %llx to %lld to match everywhere else. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201119165616.10834-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_lrc.h')
-rw-r--r--drivers/gpu/drm/i915/gt/intel_lrc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.h b/drivers/gpu/drm/i915/gt/intel_lrc.h
index c2d287f25497..32e6e204f544 100644
--- a/drivers/gpu/drm/i915/gt/intel_lrc.h
+++ b/drivers/gpu/drm/i915/gt/intel_lrc.h
@@ -106,7 +106,7 @@ void intel_lr_context_reset(struct intel_engine_cs *engine,
void intel_execlists_show_requests(struct intel_engine_cs *engine,
struct drm_printer *m,
void (*show_request)(struct drm_printer *m,
- struct i915_request *rq,
+ const struct i915_request *rq,
const char *prefix),
unsigned int max);