disp: msm: dp: remove disconnect call for downstream port status change
During MST scenario, plugging out all the downstream monitors connected to the MST hub would trigger a disconnect handler which would cleanup display structure. This isn't required since MST hub is still connected and the display cleanup would be taken care during the actual MST hub disconnect. Also, handling the disconnect immediately on port status notification leaves the usermode in an invalid state where it assumes the display is still enabled and results in commit errors. Change-Id: Ia9a58fadd89bd05746da25f142b54b31e8567258 Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
f47a4bd39b
commit
10ac060759
@@ -1762,6 +1762,7 @@ static void dp_display_attention_work(struct work_struct *work)
|
||||
|
||||
if (dp->link->sink_request & DS_PORT_STATUS_CHANGED) {
|
||||
SDE_EVT32_EXTERNAL(dp->state, DS_PORT_STATUS_CHANGED);
|
||||
if (!dp->mst.mst_active) {
|
||||
if (dp_display_is_sink_count_zero(dp)) {
|
||||
dp_display_handle_disconnect(dp);
|
||||
} else {
|
||||
@@ -1769,9 +1770,9 @@ static void dp_display_attention_work(struct work_struct *work)
|
||||
* connect work should take care of sending
|
||||
* the HPD notification.
|
||||
*/
|
||||
if (!dp->mst.mst_active)
|
||||
queue_work(dp->wq, &dp->connect_work);
|
||||
}
|
||||
}
|
||||
|
||||
goto mst_attention;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user