summaryrefslogtreecommitdiffstats
path: root/include/drm/intel_lpe_audio.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart2017-01-31 21:16:48 +0100
committerTakashi Iwai2017-02-01 16:21:38 +0100
commitb5f2be9ae5bf88f5751cc9f5813ed28e7f87402d (patch)
tree9b7a43b1c0df74c04686306fbc6eac2bca9c5688 /include/drm/intel_lpe_audio.h
parentDocumentation/gpu: Move LPE audio section after HD-audio (diff)
downloadkernel-qcow2-linux-b5f2be9ae5bf88f5751cc9f5813ed28e7f87402d.tar.gz
kernel-qcow2-linux-b5f2be9ae5bf88f5751cc9f5813ed28e7f87402d.tar.xz
kernel-qcow2-linux-b5f2be9ae5bf88f5751cc9f5813ed28e7f87402d.zip
drm/i915: add DP support in LPE audio mode
If DisplayPort is detected, pass flag and link rate to audio driver Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/drm/intel_lpe_audio.h')
-rw-r--r--include/drm/intel_lpe_audio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/intel_lpe_audio.h b/include/drm/intel_lpe_audio.h
index 952de05a9d76..857e0eafed79 100644
--- a/include/drm/intel_lpe_audio.h
+++ b/include/drm/intel_lpe_audio.h
@@ -38,6 +38,8 @@ struct intel_hdmi_lpe_audio_pdata {
bool notify_pending;
int tmds_clock_speed;
bool hdmi_connected;
+ bool dp_output;
+ int link_rate;
struct intel_hdmi_lpe_audio_eld eld;
void (*notify_audio_lpe)(void *audio_ptr);
spinlock_t lpe_audio_slock;