1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2019 Intel Corporation
6 #ifndef __INTEL_LVDS_H__
7 #define __INTEL_LVDS_H__
9 #include <linux/types.h>
11 #include "i915_reg_defs.h"
14 struct drm_i915_private;
16 bool intel_lvds_port_enabled(struct drm_i915_private *dev_priv,
17 i915_reg_t lvds_reg, enum pipe *pipe);
18 void intel_lvds_init(struct drm_i915_private *dev_priv);
19 struct intel_encoder *intel_get_lvds_encoder(struct drm_i915_private *dev_priv);
20 bool intel_is_dual_link_lvds(struct drm_i915_private *dev_priv);
22 #endif /* __INTEL_LVDS_H__ */