]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/cx0: Add MTL+ .dump_hw_state hook
authorMika Kahola <mika.kahola@intel.com>
Mon, 17 Nov 2025 10:45:53 +0000 (12:45 +0200)
committerMika Kahola <mika.kahola@intel.com>
Wed, 19 Nov 2025 11:32:26 +0000 (13:32 +0200)
commit2e129889622c391d4d1204a0da16e278d585124b
treeeb9c5ad664bcbbf211ba32522943af715b10c4fd
parentdc3fdd4ade8763aac3546835909b70c298b8e8f4
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
drivers/gpu/drm/i915/display/intel_cx0_phy.c
drivers/gpu/drm/i915/display/intel_cx0_phy.h
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.c