drm/i915/cx0: Add MTL+ .dump_hw_state hook

Add .dump_hw_state function pointer for MTL+ platforms
to support dpll framework. While at it, switch to use
drm_printer structure to print hw state information.

v2: Keep debug messages on one line if they not
    necessarily needed to split into two or more
    lines (Suraj)

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/20251117104602.2363671-24-mika.kahola@intel.com
This commit is contained in:
Mika Kahola 2025-11-17 12:45:53 +02:00
commit 2e12988962
4 changed files with 45 additions and 40 deletions