Commit 0fadb059 authored by Vinod Polimera's avatar Vinod Polimera Committed by sanglipeng
Browse files

drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources

stable inclusion
from stable-v5.10.180
commit 6e6c27b2fb9df6387ea5e766b29807a048d4c37e
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6e6c27b2fb9df6387ea5e766b29807a048d4c37e



--------------------------------

[ Upstream commit b6975693 ]

According to KMS documentation, The driver must not release any shared
resources if active is set to false but enable still true.

Fixes: ccc862b9 ("drm/msm/dpu: Fix reservation failures in modeset")
Signed-off-by: default avatarVinod Polimera <quic_vpolimer@quicinc.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/524726/
Link: https://lore.kernel.org/r/1677774797-31063-5-git-send-email-quic_vpolimer@quicinc.com


Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent e1cc532a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment