drm/i915: Make engine state pretty-printer header configurable
Pass in a format string (and args) to specify the header to be emitted along with the engine state when pretty-printing. This allows the header to be emitted inside the drm_printer stream, so sharing the same prefix and output characteristics (e.g. debug level and filtering). Signed-off-by:Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by:
Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171208012303.25504-2-chris@chris-wilson.co.uk
Showing
- drivers/gpu/drm/i915/i915_debugfs.c 1 addition, 1 deletiondrivers/gpu/drm/i915/i915_debugfs.c
- drivers/gpu/drm/i915/intel_engine_cs.c 12 additions, 3 deletionsdrivers/gpu/drm/i915/intel_engine_cs.c
- drivers/gpu/drm/i915/intel_ringbuffer.h 4 additions, 1 deletiondrivers/gpu/drm/i915/intel_ringbuffer.h
- drivers/gpu/drm/i915/selftests/intel_hangcheck.c 4 additions, 3 deletionsdrivers/gpu/drm/i915/selftests/intel_hangcheck.c
Please register or sign in to comment