Commit 3c0e538a authored by Jani Nikula's avatar Jani Nikula
parent 818fdb16
......@@ -12,11 +12,29 @@ enum port;
enum transcoder;
struct drm_i915_private;
#ifdef I915
int intel_lpe_audio_init(struct drm_i915_private *dev_priv);
void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv);
void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv);
void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
enum transcoder cpu_transcoder, enum port port,
const void *eld, int ls_clock, bool dp_output);
#else
static inline int intel_lpe_audio_init(struct drm_i915_private *dev_priv)
{
return -ENODEV;
}
static inline void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv)
{
}
static inline void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv)
{
}
static inline void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
enum transcoder cpu_transcoder, enum port port,
const void *eld, int ls_clock, bool dp_output)
{
}
#endif
#endif /* __INTEL_LPE_AUDIO_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment