aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2015-03-06 15:21:45 -0500
committerSean Paul <seanpaul@google.com>2015-04-09 13:11:02 -0700
commitef93e3f3dcb9646ae0df1b5f059216adbf006d23 (patch)
treee767fe0158aa87a5b96fad0b2375387abdab05a8
parentd630e58ebe455a700eb32454fcd23cd5b4eaa0b1 (diff)
downloadpsb_video-ef93e3f3dcb9646ae0df1b5f059216adbf006d23.tar.gz
HDMIExtMode: Accept DSI connector types
Now that the DSI & Virtual connector types have been swapped, we can accept the new DSI type in addition to the temporary value. This will allow us to start using the new DSI type in kernel such that we can then remove the temp values altogether Bug: 19118845 Change-Id: I8af72bb95bd2f272cd0ff63e0e575b3b9e25a4b6 Signed-off-by: Sean Paul <seanpaul@chromium.org>
-rw-r--r--src/android/psb_HDMIExtMode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/psb_HDMIExtMode.c b/src/android/psb_HDMIExtMode.c
index 1bb8c78..f901c85 100644
--- a/src/android/psb_HDMIExtMode.c
+++ b/src/android/psb_HDMIExtMode.c
@@ -172,7 +172,8 @@ psb_HDMIExt_info_p psb_HDMIExt_init(VADriverContextP ctx, psb_android_output_p o
if (connector->connector_type == DRM_MODE_CONNECTOR_DVID)
psb_HDMIExt_info->hdmi_connector_id = connector->connector_id;
- if ((connector->connector_type == DRM_MODE_CONNECTOR_TMP_DSI) &&
+ if ((connector->connector_type == DRM_MODE_CONNECTOR_DSI ||
+ connector->connector_type == DRM_MODE_CONNECTOR_TMP_DSI) &&
(!mipi_connector_id)) {
mipi_connector_id = connector->connector_id;
mipi_encoder_id = connector->encoder_id;