mesa/src/gallium/drivers/panfrost
Alyssa Rosenzweig fc30fe5bc5 panfrost: Disable CRC by default
Known unsound code.

So far I'm not convinced transaction elimination is doing us much good. Even in
synthetic glmark style benchmarks this seems to be a few % hit at most. Given
that transaction elimination is unsound by design, and that panfrost's
implementation is buggy in several places and getting it right (up to the
unsoundness of the hardware feature itself) would take actual engineering
effort, and the priority is making glamor work... disabling is the obvious
choice here.

For now, we leave the code but gate it behind a env var
flag (PAN_MESA_DEBUG=crc) rather than defaulting to enabled unless
PAN_MESA_DEBUG=nocrc is set. This way, we can still experiment with it if we
need that data ("what performance could we gain if we had this feature,
unsoundness be damned?"). That said, I'm not really ok with having unsoundness
on my devices, y'know? Back of the napkin math suggests that it's not unlikely
that somebody has hit a transaction elimination collision in the wild with the
DDK.

Boils down to values.

Closes: #8113
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21258>
2023-02-17 14:36:01 +00:00
..
.clang-format panfrost: Add clang-format file 2022-12-24 02:22:57 +00:00
.editorconfig
meson.build panfrost: Move fence code to pan_fence.{c,h} 2022-12-01 13:52:05 +00:00
pan_blend_cso.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_blit.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_cmdstream.c panfrost: Fix logic ops on Bifrost 2023-01-16 16:02:23 +00:00
pan_context.c panfrost: Document render_condition_check contract 2023-01-16 17:11:19 +00:00
pan_context.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_disk_cache.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_fence.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_fence.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_helpers.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_job.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_job.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_mempool.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_mempool.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_public.h panfrost: use u_pipe_screen_lookup_or_create() to keep track of and reuse screens 2023-02-12 17:11:17 +00:00
pan_resource.c panfrost: Disable CRC by default 2023-02-17 14:36:01 +00:00
pan_resource.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_screen.c panfrost: Disable CRC by default 2023-02-17 14:36:01 +00:00
pan_screen.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_shader.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00