Commit 9c569784 authored by Jani Nikula's avatar Jani Nikula Committed by Lucas De Marchi

drm/i915/dsi: fix pipe D readout for DSI transcoders

Commit 4d89adc7 ("drm/i915/display/dsi: Add support to pipe D")
added pipe D support for DSI, but failed to update the state readout.

Fixes: 4d89adc7 ("drm/i915/display/dsi: Add support to pipe D")
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191211110844.2996-1-jani.nikula@intel.com
parent f9b3b8c6
...@@ -10427,6 +10427,9 @@ static bool hsw_get_transcoder_state(struct intel_crtc *crtc, ...@@ -10427,6 +10427,9 @@ static bool hsw_get_transcoder_state(struct intel_crtc *crtc,
case TRANS_DDI_EDP_INPUT_C_ONOFF: case TRANS_DDI_EDP_INPUT_C_ONOFF:
trans_pipe = PIPE_C; trans_pipe = PIPE_C;
break; break;
case TRANS_DDI_EDP_INPUT_D_ONOFF:
trans_pipe = PIPE_D;
break;
} }
if (trans_pipe == crtc->pipe) { if (trans_pipe == crtc->pipe) {
......
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