Re: [PATCH] drm/msm/dpu: Reapply CTM if modeset is needed

2023-01-18 Thread Jessica Zhang
On 1/17/2023 6:16 PM, Dmitry Baryshkov wrote: On Wed, 18 Jan 2023 at 04:14, Jessica Zhang wrote: Add a !drm_atomic_crtc_needs_modeset() check to _dpu_crtc_setup_cp_blocks() so that CTM is reapplied after a suspend/resume. .. or if the LM/DSPP blocks were reallocated by resource allocation

Re: [PATCH] drm/msm/dpu: Reapply CTM if modeset is needed

2023-01-17 Thread Dmitry Baryshkov
On Wed, 18 Jan 2023 at 04:14, Jessica Zhang wrote: > > Add a !drm_atomic_crtc_needs_modeset() check to > _dpu_crtc_setup_cp_blocks() so that CTM is reapplied after a > suspend/resume. .. or if the LM/DSPP blocks were reallocated by resource allocation during the modeset. > > Closes: https://gitl

[PATCH] drm/msm/dpu: Reapply CTM if modeset is needed

2023-01-17 Thread Jessica Zhang
Add a !drm_atomic_crtc_needs_modeset() check to _dpu_crtc_setup_cp_blocks() so that CTM is reapplied after a suspend/resume. Closes: https://gitlab.freedesktop.org/drm/msm/-/issues/23 Signed-off-by: Jessica Zhang --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +- 1 file changed, 1 insertion(+)