[PATCH 00/12] drm/i915: Use drm_printer more
Ville Syrjala
ville.syrjala at linux.intel.com
Thu Feb 15 16:40:43 UTC 2024
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Convert the entire state dumper and state checker to
use drm_printer.
One can perhaps consider this as the first step towards
hooking into .atomic_print_state(). Unfortunately that
stuff is a full blown midlayer currently, so we'd first
have to demidlayer it to make it work for us. The other
annoying thing there is the format in which it currently
prints stuff. Whoever wrote that had some kind of allergy
towards whitespace, making the output not so great for
human consumption, which is the primary use case for us.
Ville Syrjälä (12):
drm/i915: Indicate which pipe failed the fastset check overall
drm/i915: Include CRTC info in infoframe mismatch prints
drm/i915: Include CRTC info in VSC SDP mismatch prints
drm/i915: Convert pipe_config_infoframe_mismatch() to drm_printer
drm/i915: Convert pipe_config_buffer_mismatch() to drm_printer
drm/i915: Convert intel_dpll_dump_hw_state() to drm_printer
drm/i915: Use drm_printer more extensively in intel_crtc_state_dump()
drm/i915: Convert the remaining state dump to drm_printer
drm/i915: Skip intel_crtc_state_dump() if debugs aren't enabled
drm/i915: Relocate pipe_config_mismatch()
drm/i915: Reuse pipe_config_mismatch() more
drm/i915: Create the printer only once in intel_pipe_config_compare()
.../drm/i915/display/intel_crtc_state_dump.c | 330 ++++++++----------
drivers/gpu/drm/i915/display/intel_display.c | 189 +++++-----
drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 105 +++---
drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 2 +
4 files changed, 288 insertions(+), 338 deletions(-)
--
2.43.0
More information about the Intel-gfx
mailing list