mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
drm/i915/dkl: convert intel_dkl_phy.[ch] to struct intel_display
Going forward, struct intel_display is the main display device data pointer. Convert intel_dkl_phy.[ch] to struct intel_display. Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/fce153dbd3a69dc574a66fb97b7c1f441df9726f.1740502116.git.jani.nikula@intel.com [Jani: Fix a missing include while applying] Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
fe43444d0e
commit
29eb839443
|
|
@ -194,7 +194,7 @@ void intel_display_driver_early_probe(struct intel_display *display)
|
|||
mutex_init(&display->hdcp.hdcp_mutex);
|
||||
|
||||
intel_display_irq_init(i915);
|
||||
intel_dkl_phy_init(i915);
|
||||
intel_dkl_phy_init(display);
|
||||
intel_color_init_hooks(display);
|
||||
intel_init_cdclk_hooks(display);
|
||||
intel_audio_hooks_init(display);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright © 2022 Intel Corporation
|
||||
*/
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include <drm/drm_device.h>
|
||||
|
||||
#include "intel_de.h"
|
||||
#include "intel_display.h"
|
||||
|
|
@ -12,11 +12,11 @@
|
|||
|
||||
/**
|
||||
* intel_dkl_phy_init - initialize Dekel PHY
|
||||
* @i915: i915 device instance
|
||||
* @display: display device instance
|
||||
*/
|
||||
void intel_dkl_phy_init(struct drm_i915_private *i915)
|
||||
void intel_dkl_phy_init(struct intel_display *display)
|
||||
{
|
||||
spin_lock_init(&i915->display.dkl.phy_lock);
|
||||
spin_lock_init(&display->dkl.phy_lock);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -10,10 +10,9 @@
|
|||
|
||||
#include "intel_dkl_phy_regs.h"
|
||||
|
||||
struct drm_i915_private;
|
||||
struct intel_display;
|
||||
|
||||
void intel_dkl_phy_init(struct drm_i915_private *i915);
|
||||
void intel_dkl_phy_init(struct intel_display *display);
|
||||
u32
|
||||
intel_dkl_phy_read(struct intel_display *display, struct intel_dkl_phy_reg reg);
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user