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