1 /* $NetBSD: intel_lvds.h,v 1.2 2021/12/18 23:45:30 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: MIT */ 4 /* 5 * Copyright 2019 Intel Corporation 6 */ 7 8 #ifndef __INTEL_LVDS_H__ 9 #define __INTEL_LVDS_H__ 10 11 #include <linux/types.h> 12 13 #include "i915_reg.h" 14 15 enum pipe; 16 struct drm_i915_private; 17 18 bool intel_lvds_port_enabled(struct drm_i915_private *dev_priv, 19 i915_reg_t lvds_reg, enum pipe *pipe); 20 void intel_lvds_init(struct drm_i915_private *dev_priv); 21 struct intel_encoder *intel_get_lvds_encoder(struct drm_i915_private *dev_priv); 22 bool intel_is_dual_link_lvds(struct drm_i915_private *dev_priv); 23 24 #endif /* __INTEL_LVDS_H__ */ 25