diff options
author | Jessica Zhang <quic_jesszhan@quicinc.com> | 2023-01-18 15:38:48 -0800 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-01-21 12:23:32 +0200 |
commit | 7efd4edc6efafa65039c1ce8b3af951aba495e3a (patch) | |
tree | db05cb58f574ce0a616cdfc6c54a93a5556b90ab /drivers/gpu/drm/msm/disp/mdp4/mdp4_irq.c | |
parent | 764b9481262fe2b0445bfe180fc814b0672a3a5c (diff) | |
download | linux-7efd4edc6efafa65039c1ce8b3af951aba495e3a.tar.gz |
drm/msm/dpu: Reapply CTM if modeset is needed
Add a !drm_atomic_crtc_needs_modeset() check to
_dpu_crtc_setup_cp_blocks() so that CTM is reapplied if the LM/DSPP
blocks were reallocated during modeset or after a suspend/resume.
Changes in V2:
- Fixed commit message
Changes in V3:
- Added mention of suspend/resume case back to commit message
Closes: https://gitlab.freedesktop.org/drm/msm/-/issues/23
Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/519151/
Link: https://lore.kernel.org/r/20230118233848.611-1-quic_jesszhan@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/msm/disp/mdp4/mdp4_irq.c')
0 files changed, 0 insertions, 0 deletions