1 /* $NetBSD: intel_crt.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_CRT_H__ 9 #define __INTEL_CRT_H__ 10 11 #include "i915_reg.h" 12 13 #include <sys/file.h> 14 #define pipe pipe_drmhack /* see intel_display.h */ 15 16 enum pipe; 17 struct drm_encoder; 18 struct drm_i915_private; 19 struct drm_i915_private; 20 21 bool intel_crt_port_enabled(struct drm_i915_private *dev_priv, 22 i915_reg_t adpa_reg, enum pipe *pipe); 23 void intel_crt_init(struct drm_i915_private *dev_priv); 24 void intel_crt_reset(struct drm_encoder *encoder); 25 26 #endif /* __INTEL_CRT_H__ */ 27