mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tools/null_state_gen: Limit the total state len to 4096 bytes
Currently our kernel side buffer object is only one page. Limit the amount of dwords to 1024 to enforce this. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
This commit is contained in:
parent
b498d81f15
commit
a1f847cba9
@ -34,7 +34,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#define MAX_RELOCS 64
|
||||
#define MAX_ITEMS 4096
|
||||
#define MAX_ITEMS 1024
|
||||
#define MAX_STRLEN 256
|
||||
|
||||
#define ALIGN(x, y) (((x) + (y)-1) & ~((y)-1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user