]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/sysfb: Use new CRTC state in begin_fb_access
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Oct 2025 12:52:02 +0000 (14:52 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Oct 2025 08:36:14 +0000 (10:36 +0200)
commitb36ca97592118196389e9cd7fa18226e955e33f7
tree99e8dc90284ccd20141339729f43f9a5a284a623
parentf97180f094aed00bae9776f00ae61c7c020b4d79
drm/sysfb: Use new CRTC state in begin_fb_access

Retrieve the CRTC's new state with drm_atomic_get_new_crtc_state()
in drm_sysfb_plane_helper_begin_fb_access(). The blit function might
be incorrect otherwise.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: cb71de092553 ("drm/sysfb: Lookup blit function during atomic check")
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Closes: https://lore.kernel.org/dri-devel/aPJrs7_u8KcalNsC@intel.com/
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20251020125227.41308-1-tzimmermann@suse.de
drivers/gpu/drm/sysfb/drm_sysfb_modeset.c