summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2017-01-31 23:16:48 +0300
committerTakashi Iwai <tiwai@suse.de>2017-02-01 18:21:38 +0300
commitb5f2be9ae5bf88f5751cc9f5813ed28e7f87402d (patch)
tree9b7a43b1c0df74c04686306fbc6eac2bca9c5688 /include/drm
parenteacc8dafa8d9e3dc8eee378ed030a6a447aa13c2 (diff)
downloadlinux-b5f2be9ae5bf88f5751cc9f5813ed28e7f87402d.tar.xz
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')
-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;