Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / display / intel_audio.h
bloba3657c7a7ba2dcd63d207650a5335e0c56738a54
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2019 Intel Corporation
4 */
6 #ifndef __INTEL_AUDIO_H__
7 #define __INTEL_AUDIO_H__
9 struct drm_connector_state;
10 struct drm_i915_private;
11 struct intel_crtc_state;
12 struct intel_encoder;
14 void intel_init_audio_hooks(struct drm_i915_private *dev_priv);
15 void intel_audio_codec_enable(struct intel_encoder *encoder,
16 const struct intel_crtc_state *crtc_state,
17 const struct drm_connector_state *conn_state);
18 void intel_audio_codec_disable(struct intel_encoder *encoder,
19 const struct intel_crtc_state *old_crtc_state,
20 const struct drm_connector_state *old_conn_state);
21 void intel_audio_init(struct drm_i915_private *dev_priv);
22 void intel_audio_deinit(struct drm_i915_private *dev_priv);
24 #endif /* __INTEL_AUDIO_H__ */