drm/i915/hdmi: fix hdmi audio state readout
Subsystems (2)
PATCH 1/1 drm/i915/hdmi: fix hdmi audio state readout
Check the correct bit for audio. Seems like a copy-paste error from the start:
commit 9ed109a7b445e3f073d8ea72f888ec80c0532465
Author: Daniel Vetter <[email protected]> Date: Thu Apr 24 23:54:52 2014 +0200
drm/i915: Track has_audio in the pipe config
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82756
--- drivers/gpu/drm/i915/intel_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_hdmi.c +1 -1
@@ -732,7 +732,7 @@ static void intel_hdmi_get_config(struct intel_encoder *encoder,if (tmp &HDMI_MODE_SELECT_HDMI ) pipe_config->has_hdmi_sink = true; -if (tmp &HDMI_MODE_SELECT_HDMI ) +if (tmp &SDVO_AUDIO_ENABLE ) pipe_config->has_audio = true; if (!HAS_PCH_SPLIT(dev) &&
Signature · 1 line
2.0.1
Quoted 7 lines · Jani Nikula
Check the correct bit for audio. Seems like a copy-paste error from the start:
commit
9ed109a7b445e3f073d8ea72f888ec80c0532465Author: Daniel Vetter <[email protected]> Date: Thu Apr 24 23:54:52 2014 +0200
Quoted 7 lines
drm/i915: Track
has_audioin the pipe configReported-by Martin Andersen <[email protected]>Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82756
Cc [email protected] # 3.16+Cc Daniel Vetter <[email protected]>Signed-off-by Jani Nikula <[email protected]>
Oops, indeed.
Quoted 20 lines
--- drivers/gpu/drm/i915/intel_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_hdmi.c +1
-1@@ -732,7 +732,7 @@ static void intel_hdmi_get_config(struct intel_encoder *encoder,if (tmp &HDMI_MODE_SELECT_HDMI ) pipe_config->has_hdmi_sink = true; -if (tmp &HDMI_MODE_SELECT_HDMI ) +if (tmp &SDVO_AUDIO_ENABLE ) pipe_config->has_audio = true; if (!HAS_PCH_SPLIT(dev) &&Signature · 1 line
2.0.1
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Jani Nikula
AppliedQuoted 16 lines · Daniel Vetter
Quoted 7 lines · Jani Nikula
Check the correct bit for audio. Seems like a copy-paste error from the start:
commit
9ed109a7b445e3f073d8ea72f888ec80c0532465Author: Daniel Vetter <[email protected]> Date: Thu Apr 24 23:54:52 2014 +0200Quoted 7 lines
drm/i915: Track
has_audioin the pipe configReported-by Martin Andersen <[email protected]>Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82756
Cc [email protected] # 3.16+Cc Daniel Vetter <[email protected]>Signed-off-by Jani Nikula <[email protected]>
Quoted 3 lines
Oops, indeed.
Reviewed-by Daniel Vetter <[email protected]>
Pushed to drm-intel-fixes, thanks for the review.
BR,
Jani.
Quoted 26 lines
Quoted 21 lines
--- drivers/gpu/drm/i915/intel_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_hdmi.c +1
-1@@ -732,7 +732,7 @@ static void intel_hdmi_get_config(struct intel_encoder *encoder,if (tmp &HDMI_MODE_SELECT_HDMI ) pipe_config->has_hdmi_sink = true; -if (tmp &HDMI_MODE_SELECT_HDMI ) +if (tmp &SDVO_AUDIO_ENABLE ) pipe_config->has_audio = true; if (!HAS_PCH_SPLIT(dev) &&Signature · 1 line
2.0.1Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center