]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/display: Add a disable_tiling() for skl planes
authorJocelyn Falempe <jfalempe@redhat.com>
Tue, 24 Jun 2025 09:01:13 +0000 (11:01 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Fri, 27 Jun 2025 09:48:22 +0000 (11:48 +0200)
commit796f437d7bc9ff0a5099fa2b8018c9736877555b
tree752c107fa962e74f5f6f8e095ce127b6e9e9efa9
parent32e2450a89fd3582614f7a2e2c14660615b603c2
drm/i915/display: Add a disable_tiling() for skl planes

drm_panic draws in linear framebuffer, so it's easier to re-use the
current framebuffer, and disable tiling in the panic handler, to show
the panic screen.

This assumes that the alignment restriction is always smaller in
linear than in tiled.
It also assumes that the linear framebuffer size is always smaller
than the tiled.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250624091501.257661-5-jfalempe@redhat.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/i915/display/skl_universal_plane.c