Re: [PATCH 3/6] drm/msm/dpu: don't use active in atomic_check()

2025-01-08 Thread Abhinav Kumar
On 1/8/2025 8:22 PM, Dmitry Baryshkov wrote: On Wed, Jan 08, 2025 at 05:19:40PM -0800, Abhinav Kumar wrote: On 12/21/2024 9:00 PM, Dmitry Baryshkov wrote: The driver isn't supposed to consult crtc_state->active/active_check for resource allocation. Instead all resources should be allocated

Re: [PATCH 3/6] drm/msm/dpu: don't use active in atomic_check()

2025-01-08 Thread Dmitry Baryshkov
On Wed, Jan 08, 2025 at 05:19:40PM -0800, Abhinav Kumar wrote: > > > On 12/21/2024 9:00 PM, Dmitry Baryshkov wrote: > > The driver isn't supposed to consult crtc_state->active/active_check for > > resource allocation. Instead all resources should be allocated if > > crtc_state->enabled is set. St

Re: [PATCH 3/6] drm/msm/dpu: don't use active in atomic_check()

2025-01-08 Thread Abhinav Kumar
On 12/21/2024 9:00 PM, Dmitry Baryshkov wrote: The driver isn't supposed to consult crtc_state->active/active_check for resource allocation. Instead all resources should be allocated if crtc_state->enabled is set. Stop consulting active / active_changed in order to determine whether the hardwa

Re: [PATCH 3/6] drm/msm/dpu: don't use active in atomic_check()

2025-01-08 Thread Simona Vetter
On Sun, Dec 22, 2024 at 07:00:43AM +0200, Dmitry Baryshkov wrote: > The driver isn't supposed to consult crtc_state->active/active_check for > resource allocation. Instead all resources should be allocated if > crtc_state->enabled is set. Stop consulting active / active_changed in > order to determ

[PATCH 3/6] drm/msm/dpu: don't use active in atomic_check()

2024-12-21 Thread Dmitry Baryshkov
The driver isn't supposed to consult crtc_state->active/active_check for resource allocation. Instead all resources should be allocated if crtc_state->enabled is set. Stop consulting active / active_changed in order to determine whether the hardware resources should be (re)allocated. Fixes: 25fdd5