diff options
| author | Pandiyan, Dhinakaran <[email protected]> | 2016-09-20 01:24:40 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2016-09-21 16:32:20 +0000 |
| commit | f1a3acea26f89de17399726e1451fc7bb5376573 (patch) | |
| tree | 739bf9b7e63e79961291cce1622f0b24f7829ba8 /drivers/gpu/drm/i915/intel_dp_mst.c | |
| parent | drm/i915: Switch to using port stored in intel_encoder (diff) | |
| download | kernel-f1a3acea26f89de17399726e1451fc7bb5376573.tar.gz kernel-f1a3acea26f89de17399726e1451fc7bb5376573.zip | |
drm/i915: Move audio_connector to intel_encoder
With DP MST, a digital_port can carry more than one audio stream. Hence,
more than one audio_connector needs to be attached to intel_digital_port in
such cases. However, each stream is associated with an unique encoder. So,
instead of creating an array of audio_connectors per port, move
audio_connector from struct intel_digital_port to struct intel_encoder.
This also simplifies access to the right audio_connector from codec
functions in intel_audio.c that receive intel_encoder.
v2: Removed locals that are not needed anymore.
v3: No code change except for minor change in context.
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
Reviewed-by: Lyude <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions
