Re: [PATCH v6 01/15] drm/msm/dpu: make sure phys resources are properly initialized

2024-09-16 Thread Abhinav Kumar
On 9/2/2024 8:22 PM, Dmitry Baryshkov wrote: The commit b954fa6baaca ("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_

[PATCH v6 01/15] drm/msm/dpu: make sure phys resources are properly initialized

2024-09-02 Thread Dmitry Baryshkov
The commit b954fa6baaca ("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 assi