1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2019 Intel Corporation
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
;
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__ */