mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 21:48:09 +02:00
Rework the way we compute thread info to make it mostly GPU-agnostic outside of the kmod backend. The new logic is based on the following information extracted from GPU registers: - mximum number of threads per core - maximum number ot threads per workgroup - number of registers per core If the GPU doesn't provide this information (registers are zero), we pick the per-arch defaults we had in panfrost_max_thread_count(). Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Antonino Maniscalco <antonino.maniscalco@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26358> |
||
|---|---|---|
| .. | ||
| lcra.c | ||
| lcra.h | ||
| meson.build | ||
| pan_collect_varyings.c | ||
| pan_ir.c | ||
| pan_ir.h | ||
| pan_liveness.c | ||
| pan_lower_framebuffer.c | ||
| pan_lower_framebuffer.h | ||
| pan_lower_helper_invocation.c | ||
| pan_lower_image_ms.c | ||
| pan_lower_sample_position.c | ||
| pan_lower_store_component.c | ||
| pan_lower_writeout.c | ||
| pan_lower_xfb.c | ||