mesa/src/panfrost/lib
Utku Iseri d6eb5b4039 panvk: explicit fallback to linear for legacy scanout images
If there isn't any modifier info coming from the compositor, we go
through our internal image path and pick the best modifier that
supports the image. This causes problems on X11, as it actually
expects the image to be in a linear layout.

Explicitly set the modifier to linear for legacy scanout images,
which specifically indicates that the image doesn't have an
explicit DRM modifier and we should do the safe thing by using
linear.

The naming becomes confusing for scanout with this change,
so the flag is now split into two separate flags, one for controlling
the AFBC optimalness called wsi, the other more directly called
legacy_scanout, which is used for enforcing the linear mod.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37771>
2025-10-16 13:28:38 +00:00
..
kmod treewide: Make exported DRM FDs read-write. 2025-09-27 19:46:14 +00:00
tests pan/lib: do not duplicate enum mali_pixel_kill 2025-08-20 00:05:36 +00:00
.gitignore
meson.build pan: Lift pan_get_model into its own lib 2025-09-16 15:54:48 +00:00
pan_afbc.c panfrost: Optimize pan_afbc_payload_layout_packed() for AArch32 2025-07-12 11:58:14 +00:00
pan_afbc.h pan/lib: Hook-up Z24_UNORM_PACKED support 2025-09-15 10:59:04 +00:00
pan_afrc.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
pan_blend.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
pan_blend.h panfrost, panvk: Use arch version 9 to distinguish between Bifrost & Valhall 2025-06-18 16:09:03 +00:00
pan_clear.c panfrost: pass blendable formats to pan_pack_color 2023-11-06 14:30:28 +01:00
pan_desc.c panfrost,panvk: distinguish fbd bounding box from framebuffer size 2025-10-16 13:28:37 +00:00
pan_desc.h panfrost,panvk: distinguish fbd bounding box from framebuffer size 2025-10-16 13:28:37 +00:00
pan_earlyzs.c pan/lib: do not duplicate enum mali_pixel_kill 2025-08-20 00:05:36 +00:00
pan_earlyzs.h pan/lib: do not duplicate enum mali_pixel_kill 2025-08-20 00:05:36 +00:00
pan_encoder.h pan/lib: Hook-up Z24_UNORM_PACKED support 2025-09-15 10:59:04 +00:00
pan_format.c pan/lib: Hook-up Z24_UNORM_PACKED support 2025-09-15 10:59:04 +00:00
pan_format.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
pan_image.h panvk: explicit fallback to linear for legacy scanout images 2025-10-16 13:28:38 +00:00
pan_jc.h pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
pan_layout.c pan/afbc: Cache the pan_afbc_mode selection 2025-09-15 10:59:04 +00:00
pan_layout.h pan/afbc: Cache the pan_afbc_mode selection 2025-09-15 10:59:04 +00:00
pan_mod.c panvk: explicit fallback to linear for legacy scanout images 2025-10-16 13:28:38 +00:00
pan_mod.h pan/afbc: Cache the pan_afbc_mode selection 2025-09-15 10:59:04 +00:00
pan_pool.h pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
pan_props.c pan: Lift pan_get_model into its own lib 2025-09-16 15:54:48 +00:00
pan_props.h pan: Lift pan_get_model into its own lib 2025-09-16 15:54:48 +00:00
pan_samples.c pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
pan_samples.h pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
pan_scratch.c pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
pan_shader.c panfrost: don't use nir_lower_printf_buffer 2025-08-03 21:27:49 +00:00
pan_shader.h panfrost: Split texture lowering passes 2025-08-20 12:11:43 +00:00
pan_texture.c pan/afbc: Cache the pan_afbc_mode selection 2025-09-15 10:59:04 +00:00
pan_texture.h pan: Add the concept of modifier handler 2025-06-25 12:10:53 +02:00
pan_tiler.c pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
pan_util.c pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
pan_util.h panfrost: enable 8x and 16x msaa modes when supported 2025-06-10 19:22:48 +00:00
wrap.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00