disp: msm: dp: Fix dp mst vcpi slot management for inactive crtcs
For crtcs attached to mst connectors, vcpi slots are being allocated whether or not that crtc is currently active. This will cause leaks during lastclose when the crtc is inactive, because the slots will get allocated, but never freed. Check if the crtc state is active before proceeding to allocate vcpi slots for that mst connector. CRs-Fixed: 2520907 Change-Id: I359738868e9bc72163f9e33204ff6cd7f0143b09 Signed-off-by: Xiaowen Wu <wxiaowen@codeaurora.org> Signed-off-by: Fuad Hossain <fhossain@codeaurora.org>
此提交包含在:

提交者
Gerrit - the friendly Code Review server

父節點
8babba1d11
當前提交
e8bd1de8ba
@@ -1451,7 +1451,7 @@ mode_set:
|
||||
|
||||
crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc);
|
||||
|
||||
if (drm_atomic_crtc_needs_modeset(crtc_state)) {
|
||||
if (drm_atomic_crtc_needs_modeset(crtc_state) && crtc_state->active) {
|
||||
c_conn = to_sde_connector(connector);
|
||||
|
||||
dp_display->convert_to_dp_mode(dp_display, c_conn->drv_panel,
|
||||
|
新增問題並參考
封鎖使用者