mesa/src/freedreno/common
Connor Abbott aab81d660a freedreno: Make BIT() 64-bit
In turnip we were using this a lot with the dynamic state enum, and
we're running out of space there because we're needing to add more and
more dynamic states that don't correspond to draw states. Make it
64-bit-safe so we don't need to rewrite everything in turnip. In the
case where the thing being operated on is 32-bit the compiler can
usually optimize it away, as can be seen with the release build size
before and after:

before:
   text    data     bss     dec     hex filename
5404913  293592   22744 5721249  574ca1 /home/cwabbott/build/mesa-release/lib64/libvulkan_freedreno.so
   text    data     bss     dec     hex filename
13981320         498550  205000 14684870         e012c6 /home/cwabbott/build/mesa-release/lib64/dri/msm_dri.so

after:
   text    data     bss     dec     hex filename
5404969  293592   22744 5721305  574cd9 /home/cwabbott/build/mesa-release/lib64/libvulkan_freedreno.so
   text    data     bss     dec     hex filename
13981320         498550  205000 14684870         e012c6 /home/cwabbott/build/mesa-release/lib64/dri/msm_dri.so

In the end the only changes is an additional ~50 bytes of text in
turnip.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18912>
2022-11-03 21:59:42 +00:00
..
disasm.h freedreno/common: Re-indent 2021-04-17 15:38:56 +00:00
freedreno_common.h freedreno: Make BIT() 64-bit 2022-11-03 21:59:42 +00:00
freedreno_dev_info.c freedreno: Handle wildcard fuse-id in device matching 2022-01-13 05:26:11 +00:00
freedreno_dev_info.h freedreno: Add all variable magic regs to device-info tables 2022-09-06 16:18:58 +00:00
freedreno_devices.py freedreno: Disable 8bpp_ubwc on a6xx gen2 2022-09-23 16:08:33 +00:00
freedreno_guardband.h freedreno/common: Re-indent 2021-04-17 15:38:56 +00:00
freedreno_pm4.h freedreno: Add pkt4 assert 2022-07-03 23:20:46 +00:00
freedreno_uuid.c freedreno/all: Introduce fd_dev_id 2021-08-06 18:51:50 +00:00
freedreno_uuid.h freedreno/all: Introduce fd_dev_id 2021-08-06 18:51:50 +00:00
meson.build freedreno: Move generated device table to .h 2021-08-06 18:51:50 +00:00
README.rst

Overview
========

Common functionality shared between freedreno drivers (that are not
registers, layout or the compiler), e.g UUID generation.