Home | History | Annotate | Line # | Download | only in display
      1 /*	$NetBSD: intel_lvds.h,v 1.3 2021/12/19 11:38:03 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 #include <sys/file.h>
     16 #define	pipe	pipe_drmhack	/* see intel_display.h */
     17 
     18 enum pipe;
     19 struct drm_i915_private;
     20 
     21 bool intel_lvds_port_enabled(struct drm_i915_private *dev_priv,
     22 			     i915_reg_t lvds_reg, enum pipe *pipe);
     23 void intel_lvds_init(struct drm_i915_private *dev_priv);
     24 struct intel_encoder *intel_get_lvds_encoder(struct drm_i915_private *dev_priv);
     25 bool intel_is_dual_link_lvds(struct drm_i915_private *dev_priv);
     26 
     27 #endif /* __INTEL_LVDS_H__ */
     28