drm/i915/display/i9xx: Add a disable_tiling() for i9xx planes
authorJocelyn Falempe <jfalempe@redhat.com>
Tue, 24 Jun 2025 09:01:12 +0000 (11:01 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Fri, 27 Jun 2025 09:48:22 +0000 (11:48 +0200)
commit32e2450a89fd3582614f7a2e2c14660615b603c2
treeaa5419e9431b4e8d5fdb87dd67ef775e34338248
parentd2782a0d8ff80f9fea36b7499b04c30f9c92d5a7
drm/i915/display/i9xx: Add a disable_tiling() for i9xx 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-4-jfalempe@redhat.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/i915/display/i9xx_plane.c
drivers/gpu/drm/i915/display/intel_display_types.h