diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-06-17 12:48:17 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-06-20 19:28:47 +0300 |
commit | 47fa33cc54615161ec5192389e55f3b95274f56f (patch) | |
tree | 0a82fdb1b70367b24d6299888e6a8003f1ea0a70 /drivers/gpu/drm/i915/display/intel_modeset_setup.h | |
parent | 2c7676b6b1f57713f55e738f803ecaf91dfc399f (diff) |
drm/i915/display: convert modeset setup to struct drm_i915_private *i915
Pass struct drm_i915_private * instead of struct drm_device *, and
rename dev_priv to i915.
v2: Rebase
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220617094817.3466584-2-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_modeset_setup.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_modeset_setup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_modeset_setup.h b/drivers/gpu/drm/i915/display/intel_modeset_setup.h index c29b34c6a7b0..3beff67b33d0 100644 --- a/drivers/gpu/drm/i915/display/intel_modeset_setup.h +++ b/drivers/gpu/drm/i915/display/intel_modeset_setup.h @@ -6,10 +6,10 @@ #ifndef __INTEL_MODESET_SETUP_H__ #define __INTEL_MODESET_SETUP_H__ -struct drm_device; +struct drm_i915_private; struct drm_modeset_acquire_ctx; -void intel_modeset_setup_hw_state(struct drm_device *dev, +void intel_modeset_setup_hw_state(struct drm_i915_private *i915, struct drm_modeset_acquire_ctx *ctx); #endif /* __INTEL_MODESET_SETUP_H__ */ |