2019-04-05 11:00:03 +00:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2019 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_AUDIO_H__
|
|
|
|
#define __INTEL_AUDIO_H__
|
|
|
|
|
|
|
|
struct drm_connector_state;
|
|
|
|
struct drm_i915_private;
|
|
|
|
struct intel_crtc_state;
|
|
|
|
struct intel_encoder;
|
|
|
|
|
2021-11-04 16:18:58 +00:00
|
|
|
void intel_audio_hooks_init(struct drm_i915_private *dev_priv);
|
2019-04-05 11:00:03 +00:00
|
|
|
void intel_audio_codec_enable(struct intel_encoder *encoder,
|
|
|
|
const struct intel_crtc_state *crtc_state,
|
|
|
|
const struct drm_connector_state *conn_state);
|
|
|
|
void intel_audio_codec_disable(struct intel_encoder *encoder,
|
|
|
|
const struct intel_crtc_state *old_crtc_state,
|
|
|
|
const struct drm_connector_state *old_conn_state);
|
2021-10-21 10:59:15 +00:00
|
|
|
void intel_audio_cdclk_change_pre(struct drm_i915_private *dev_priv);
|
|
|
|
void intel_audio_cdclk_change_post(struct drm_i915_private *dev_priv);
|
2019-04-05 11:00:03 +00:00
|
|
|
void intel_audio_init(struct drm_i915_private *dev_priv);
|
|
|
|
void intel_audio_deinit(struct drm_i915_private *dev_priv);
|
|
|
|
|
|
|
|
#endif /* __INTEL_AUDIO_H__ */
|