Files
linux/drivers/gpu/drm
Dmitry Baryshkov bfecbc2cfb drm/msm/dpu: make sure phys resources are properly initialized
The commit b954fa6baa ("drm/msm/dpu: Refactor rm iterator") removed
zero-init of the hw_ctl array, but didn't change the error condition,
that checked for hw_ctl[i] being NULL. At the same time because of the
early returns in case of an error dpu_encoder_phys might be left with
the resources assigned in the previous state. Rework assigning of hw_pp
/ hw_ctl to the dpu_encoder_phys in order to make sure they are always
set correctly.

Fixes: b954fa6baa ("drm/msm/dpu: Refactor rm iterator")
Suggested-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/612233/
Link: https://lore.kernel.org/r/20240903-dpu-mode-config-width-v6-1-617e1ecc4b7a@linaro.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
2024-10-14 13:16:16 -07:00
..
2024-07-05 10:47:28 +02:00
2024-08-22 09:13:21 +02:00
2024-08-28 12:21:49 -03:00
2024-07-05 10:47:28 +02:00
2024-05-02 11:33:17 +02:00
2024-08-09 08:13:48 +02:00
2024-08-27 14:09:45 +02:00
2024-08-27 14:09:45 +02:00
2024-05-02 11:33:18 +02:00
2024-08-27 14:09:45 +02:00
2024-06-18 10:06:35 +02:00
2024-08-27 14:09:45 +02:00
2024-08-15 11:01:48 -03:00
2024-04-25 20:55:49 -07:00
2024-06-17 10:38:18 +03:00
2024-06-24 17:08:53 +03:00
2024-02-26 11:41:07 +01:00
2024-08-23 16:55:35 +02:00
2024-08-23 16:55:35 +02:00