mesa/src/amd/vpelib
Jude Shih dba0c98ca5 amd/vpelib: Dynamic Command List Expansion
1. Implement a vector like data structure to expand
command list memory dynamically.
2. The size will be doubled once we reach its capacity.
3. Make vector a generic util under utils folder.

Reviewed-by: Roy Chan <roy.chan@amd.com>
Reviewed-by: Jesse Agate <jesse.agate@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Jude Shih <shenshih@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31274>
2024-09-30 10:12:14 +00:00
..
inc amd/vpelib: Optimize the CPU usage by caching all the LUT configs 2024-09-30 10:12:14 +00:00
src amd/vpelib: Dynamic Command List Expansion 2024-09-30 10:12:14 +00:00
meson.build amd/vpelib: Dynamic Command List Expansion 2024-09-30 10:12:14 +00:00
README.md

VPE-LIB

VPE C library for AMD drivers

Folder Architecture

[root]
 |
 +-- [inc]  ## public header to external modules
 |
 +-- [src]  ##internal implementation
     |
     +-- [chip]  ## store chip specific files
     |    |
     |    +-- [vpeXX]  ## asic specific files e.g. vpe10
     |           |
     |           +-- [inc]  ## all headers for vpe[XX]
     |                 |
     |                 +-- [asic]   ## store all headers that
     |                              ## could conflict with headers in other asics
     |                              ## src file has to explicitly include the files here
     |                              ## without relying the compilation include directory path
     |
     |
     + -- [core]  ## files that share for all asics
     |    |
     |    +-- [inc]  ## define the base functions that each vpe[xx] should implement
     |
     -- [utils]  ## utility functions like fixed point or u64 calculation
          |
          +-- [inc] ## utils headers