drm/i915: Lift i915_request_show()
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Nov 2020 16:56:12 +0000 (16:56 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Nov 2020 20:31:04 +0000 (20:31 +0000)
commit1f0e785a9cc09b430d0fbe4e9ac438d43c245815
tree71d39a37df17c4245e64c570fbb3822874f8a4b0
parent14cb9a7763622460a904c50b8adbf69a83d6cab5
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
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_lrc.h
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/i915_request.h