disp: msm: dp: remove session lock for power state update
Remove session lock for power state update to improve functionality for fast hotplug use cases. This allows the controller and aux modules to be updated asynchronously based on hotplug state. For example, in disconnected state all aux transactions will be aborted. Updates to the power state can be done without the session lock since this path is only exercised during compliance testing. Change-Id: Ibe175624ef56d9f7b953b9b54928682f1cac906a Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
此提交包含在:
@@ -1082,10 +1082,8 @@ static int dp_display_usbpd_disconnect_cb(struct device *dev)
|
||||
|
||||
dp_display_state_remove(DP_STATE_CONFIGURED);
|
||||
|
||||
mutex_lock(&dp->session_lock);
|
||||
if (dp->debug->psm_enabled && dp_display_state_is(DP_STATE_READY))
|
||||
dp->link->psm_config(dp->link, &dp->panel->link_info, true);
|
||||
mutex_unlock(&dp->session_lock);
|
||||
|
||||
dp_display_disconnect_sync(dp);
|
||||
|
||||
|
新增問題並參考
封鎖使用者