[PATCH 0/3] drm: add drm_printer based hex dumper and use it

Jani Nikula jani.nikula at intel.com
Thu Dec 5 09:49:32 UTC 2024


Add a hex dumper for drm_printer, and use it to simplify hex dumping in
i915.

Jani Nikula (3):
  drm/print: add drm_print_hex_dump()
  drm/i915/display: use drm_print_hex_dump() for crtc state dump
  drm/i915/display: use drm_print_hex_dump() for buffer mismatch dumps

 drivers/gpu/drm/drm_print.c                   | 23 +++++++++++++++++++
 .../drm/i915/display/intel_crtc_state_dump.c  | 14 ++---------
 drivers/gpu/drm/i915/display/intel_display.c  | 17 ++------------
 include/drm/drm_print.h                       |  2 ++
 4 files changed, 29 insertions(+), 27 deletions(-)

-- 
2.39.5



More information about the Intel-gfx mailing list