Commit ab0b0eb5 authored by Jani Nikula's avatar Jani Nikula

drm/i915/tv: convert to struct intel_display

Going forward, struct intel_display shall replace struct
drm_i915_private as the main display device data pointer type. Convert
intel_tv.[ch] to struct intel_display.

Some stragglers are left behind where needed.
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/04b1c8d095a52fb817876acdab4e9139d909f306.1724342644.git.jani.nikula@intel.comSigned-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 85279198
...@@ -7935,7 +7935,7 @@ void intel_setup_outputs(struct drm_i915_private *dev_priv) ...@@ -7935,7 +7935,7 @@ void intel_setup_outputs(struct drm_i915_private *dev_priv)
g4x_dp_init(dev_priv, DP_D, PORT_D); g4x_dp_init(dev_priv, DP_D, PORT_D);
if (SUPPORTS_TV(dev_priv)) if (SUPPORTS_TV(dev_priv))
intel_tv_init(dev_priv); intel_tv_init(display);
} else if (DISPLAY_VER(dev_priv) == 2) { } else if (DISPLAY_VER(dev_priv) == 2) {
if (IS_I85X(dev_priv)) if (IS_I85X(dev_priv))
intel_lvds_init(dev_priv); intel_lvds_init(dev_priv);
......
This diff is collapsed.
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
#ifndef __INTEL_TV_H__ #ifndef __INTEL_TV_H__
#define __INTEL_TV_H__ #define __INTEL_TV_H__
struct drm_i915_private; struct intel_display;
#ifdef I915 #ifdef I915
void intel_tv_init(struct drm_i915_private *dev_priv); void intel_tv_init(struct intel_display *display);
#else #else
static inline void intel_tv_init(struct drm_i915_private *dev_priv) static inline void intel_tv_init(struct intel_display *display)
{ {
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment