xref: /openbsd-src/sys/dev/pci/drm/i915/display/g4x_hdmi.h (revision f005ef32267c16bdb134f0e9fa4477dbe07c263a)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020 Intel Corporation
4  */
5 
6 #ifndef _G4X_HDMI_H_
7 #define _G4X_HDMI_H_
8 
9 #include <linux/types.h>
10 
11 #include "i915_reg_defs.h"
12 
13 enum port;
14 #define drm_i915_private inteldrm_softc
15 struct drm_atomic_state;
16 struct drm_connector;
17 struct drm_i915_private;
18 
19 void g4x_hdmi_init(struct drm_i915_private *dev_priv,
20 		   i915_reg_t hdmi_reg, enum port port);
21 int g4x_hdmi_connector_atomic_check(struct drm_connector *connector,
22 				    struct drm_atomic_state *state);
23 
24 #endif
25