drm/i915: Use intel_display wherever possible
authorSuraj Kandpal <suraj.kandpal@intel.com>
Wed, 12 Feb 2025 07:45:35 +0000 (13:15 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Wed, 12 Feb 2025 09:48:47 +0000 (15:18 +0530)
commit7378c2dbf366ba4b0e01484abd211bb41dfa82b5
treed6e390c66651665d41063d2dc23cddee449693d4
parentf2d236766f01ac56799070cc076518f5a7bdbbaf
drm/i915: Use intel_display wherever possible

Use struct intel_display wherever possible in intel_display_debug_fs.c
to reduce the use of drm_i915_private.
While at it do the opportunistic display->platform.xx replacement.

--v2
-Rebase

--v3
-Don't use inline to_intel_display [Jani]
-Don't use display debug fs as subject prefix [Jani]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250212074542.3569452-2-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_display_debugfs.c