mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
radeon: decrease the size of radeon_cmdbuf by switching prev fields to uint16
This also removes the 32-bit hole in radeon_cmdbuf. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8434>
This commit is contained in:
parent
34114e1dcb
commit
b60dfa2c09
1 changed files with 2 additions and 2 deletions
|
|
@ -198,8 +198,8 @@ struct radeon_cmdbuf_chunk {
|
|||
struct radeon_cmdbuf {
|
||||
struct radeon_cmdbuf_chunk current;
|
||||
struct radeon_cmdbuf_chunk *prev;
|
||||
unsigned num_prev; /* Number of previous chunks. */
|
||||
unsigned max_prev; /* Space in array pointed to by prev. */
|
||||
uint16_t num_prev; /* Number of previous chunks. */
|
||||
uint16_t max_prev; /* Space in array pointed to by prev. */
|
||||
unsigned prev_dw; /* Total number of dwords in previous chunks. */
|
||||
|
||||
/* Memory usage of the buffer list. These are always 0 for preamble IBs. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue