1 /* $NetBSD: intel_sdvo.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_SDVO_H__ 9 #define __INTEL_SDVO_H__ 10 11 #include <linux/types.h> 12 13 #include <drm/i915_drm.h> 14 15 #include "i915_reg.h" 16 17 #include <sys/file.h> 18 #define pipe pipe_drmhack /* see intel_display.h */ 19 20 struct drm_i915_private; 21 enum pipe; 22 enum port; 23 24 bool intel_sdvo_port_enabled(struct drm_i915_private *dev_priv, 25 i915_reg_t sdvo_reg, enum pipe *pipe); 26 bool intel_sdvo_init(struct drm_i915_private *dev_priv, 27 i915_reg_t reg, enum port port); 28 29 #endif /* __INTEL_SDVO_H__ */ 30