]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: convert VLV IOSF SB interface to struct drm_device
authorJani Nikula <jani.nikula@intel.com>
Mon, 12 May 2025 14:56:57 +0000 (17:56 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 13 May 2025 07:26:45 +0000 (10:26 +0300)
commitbd4d1856f5fe427ad20d54c57bd0f2724f7be47e
tree86b58e93ce40bba25e84f311d69d586f3d8fa990
parent8393253b850b6a5c62d4bb875b582e1582103db8
drm/i915: convert VLV IOSF SB interface to struct drm_device

With users both in i915 core and display, struct drm_device is the
common denominator for the VLV IOSF SB users. Also use drm_device for
the helpers on the display side to keep the static inlines as simple as
possible.

We can drop a number of dependencies on i915_drv.h with this.

v2,v3: Rebase

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/c1d013ed88ce2e3e5bdc15ce3bf01a3960b1e817.1747061743.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
18 files changed:
drivers/gpu/drm/i915/display/i9xx_wm.c
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power_well.c
drivers/gpu/drm/i915/display/intel_dpio_phy.c
drivers/gpu/drm/i915/display/intel_dpll.c
drivers/gpu/drm/i915/display/vlv_dsi.c
drivers/gpu/drm/i915/display/vlv_dsi_pll.c
drivers/gpu/drm/i915/display/vlv_sideband.c
drivers/gpu/drm/i915/display/vlv_sideband.h
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/soc/intel_dram.c
drivers/gpu/drm/i915/vlv_iosf_sb.c
drivers/gpu/drm/i915/vlv_iosf_sb.h
drivers/gpu/drm/xe/compat-i915-headers/vlv_iosf_sb.h