]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/modeset: Handle tiled displays in pan_display_atomic.
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 16 Jan 2025 14:28:24 +0000 (15:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 12:49:38 +0000 (13:49 +0100)
commitc6b9eaeff447726038c36e6879cbe75ff87ee656
tree78c10f72cdc0efcaa9e80a1686fa5a26ab591731
parentaab59f1ca94d53d183b219073d0259f4443e9545
drm/modeset: Handle tiled displays in pan_display_atomic.

commit f4a9dd57e549a17a7dac1c1defec26abd7e5c2d4 upstream.

Tiled displays have a different x/y offset to begin with. Instead of
attempting to remember this, just apply a delta instead.

This fixes the first tile being duplicated on other tiles when vt
switching.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250116142825.3933-1-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_fb_helper.c