mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
drm/i915/dsi: split out vlv_dsi.h
Follow the convention of corresponding .h for .c. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211122111504.223248-3-jani.nikula@intel.com
This commit is contained in:
parent
01e526285a
commit
7570d06db7
5 changed files with 22 additions and 5 deletions
|
@ -111,6 +111,7 @@
|
|||
#include "skl_universal_plane.h"
|
||||
#include "vlv_dsi_pll.h"
|
||||
#include "vlv_sideband.h"
|
||||
#include "vlv_dsi.h"
|
||||
|
||||
static void intel_set_transcoder_timings(const struct intel_crtc_state *crtc_state);
|
||||
static void intel_set_pipe_src_size(const struct intel_crtc_state *crtc_state);
|
||||
|
|
|
@ -175,16 +175,11 @@ int intel_dsi_bitrate(const struct intel_dsi *intel_dsi);
|
|||
int intel_dsi_tlpx_ns(const struct intel_dsi *intel_dsi);
|
||||
enum drm_panel_orientation
|
||||
intel_dsi_get_panel_orientation(struct intel_connector *connector);
|
||||
|
||||
/* vlv_dsi.c */
|
||||
void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port);
|
||||
enum mipi_dsi_pixel_format pixel_format_from_register_bits(u32 fmt);
|
||||
int intel_dsi_get_modes(struct drm_connector *connector);
|
||||
enum drm_mode_status intel_dsi_mode_valid(struct drm_connector *connector,
|
||||
struct drm_display_mode *mode);
|
||||
struct intel_dsi_host *intel_dsi_host_init(struct intel_dsi *intel_dsi,
|
||||
const struct mipi_dsi_host_ops *funcs,
|
||||
enum port port);
|
||||
void vlv_dsi_init(struct drm_i915_private *dev_priv);
|
||||
|
||||
#endif /* _INTEL_DSI_H */
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include "intel_display_types.h"
|
||||
#include "intel_dsi.h"
|
||||
#include "intel_dsi_vbt.h"
|
||||
#include "vlv_dsi.h"
|
||||
#include "vlv_sideband.h"
|
||||
|
||||
#define MIPI_TRANSFER_MODE_SHIFT 0
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include "intel_fifo_underrun.h"
|
||||
#include "intel_panel.h"
|
||||
#include "skl_scaler.h"
|
||||
#include "vlv_dsi.h"
|
||||
#include "vlv_dsi_pll.h"
|
||||
#include "vlv_sideband.h"
|
||||
|
||||
|
|
19
drivers/gpu/drm/i915/display/vlv_dsi.h
Normal file
19
drivers/gpu/drm/i915/display/vlv_dsi.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* SPDX-License-Identifier: MIT */
|
||||
/*
|
||||
* Copyright © 2021 Intel Corporation
|
||||
*/
|
||||
|
||||
#ifndef __VLV_DSI_H__
|
||||
#define __VLV_DSI_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
enum port;
|
||||
struct drm_i915_private;
|
||||
struct intel_dsi;
|
||||
|
||||
void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port);
|
||||
enum mipi_dsi_pixel_format pixel_format_from_register_bits(u32 fmt);
|
||||
void vlv_dsi_init(struct drm_i915_private *dev_priv);
|
||||
|
||||
#endif /* __VLV_DSI_H__ */
|
Loading…
Reference in a new issue