mesa/src/panfrost
Louis-Francis Ratté-Boulianne 6665840929 panfrost: add translation between modifier and compression rates
Add some util methods to be able to translate from an AFRC modifier
to the associated compression bitrate (bits-per-components) and
vice-versa. Also add a method to query all the supported compression
bitrate for a format.

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28813>
2024-07-11 19:02:50 +00:00
..
ci ci: simplify setting .no-auto-retry now that it isn't bundled with unrelated rules: 2024-07-07 19:31:44 +00:00
compiler build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
drm-shim build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
ds build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
include panfrost: implement a driver-specific max-miplevel 2024-04-18 15:04:57 +00:00
lib panfrost: add translation between modifier and compression rates 2024-07-11 19:02:50 +00:00
midgard build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
perf build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
shared build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
tools build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
vulkan build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
.clang-format clang-format: Disable formatting by default 2023-08-13 16:48:49 +02:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00