On Tue, Sep 02, 2025 at 11:35:32AM +0200, Maxime Ripard wrote: > The atomic_remove_fb() function uses the deprecated > drm_atomic_get_existing_crtc_state() helper. > > Despite its name, this function builds and commit a new > drm_atomic_state, and the call to drm_atomic_get_existing_crtc_state() > is part of the state building, thus happening before the states are > swapped. > > As such, the existing state points to the new state, and we can use > drm_atomic_get_new_crtc_state() instead. > > Signed-off-by: Maxime Ripard <[email protected]> > --- > drivers/gpu/drm/drm_framebuffer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
