disp: msm: dp: log the dp mst connector id information
Logging connector id will help debug the issues related to DP MST stability and pre-merge tests. This change will log the DP MST connector IDs modified during stability tests. Change-Id: Ifaf8e319697a809b02c24c473acec8da521286e2 Signed-off-by: Sankeerth Billakanti <sbillaka@codeaurora.org>
This commit is contained in:

committed by
Sudarsan Ramesh

parent
611a412fd0
commit
4cfef504ab
@@ -537,6 +537,11 @@ static ssize_t dp_debug_write_mst_con_id(struct file *file,
|
||||
|
||||
debug->mst_con_id = con_id;
|
||||
|
||||
if (status == connector_status_connected)
|
||||
DP_INFO("plug mst connector %d\n", con_id);
|
||||
else
|
||||
DP_INFO("unplug mst connector %d\n", con_id);
|
||||
|
||||
if (status == connector_status_unknown)
|
||||
goto out;
|
||||
|
||||
@@ -550,6 +555,7 @@ static ssize_t dp_debug_write_mst_con_id(struct file *file,
|
||||
dp_panel->mst_hide = (status == connector_status_disconnected);
|
||||
drm_kms_helper_hotplug_event(connector->dev);
|
||||
}
|
||||
|
||||
out:
|
||||
drm_connector_put(connector);
|
||||
goto end;
|
||||
|
Reference in New Issue
Block a user