mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-17 19:32:58 +00:00
Update CONTEXT_PARAM for GTT_SIZE reporting
Add the new PARAM identifier for reporting the context's GTT size. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -89,8 +89,9 @@ struct local_i915_gem_context_param {
|
||||
uint32_t context;
|
||||
uint32_t size;
|
||||
uint64_t param;
|
||||
#define LOCAL_CONTEXT_PARAM_BAN_PERIOD 0x1
|
||||
#define LOCAL_CONTEXT_PARAM_NO_ZEROMAP 0x2
|
||||
#define LOCAL_CONTEXT_PARAM_BAN_PERIOD 0x1
|
||||
#define LOCAL_CONTEXT_PARAM_NO_ZEROMAP 0x2
|
||||
#define LOCAL_CONTEXT_PARAM_GTT_SIZE 0x3
|
||||
uint64_t value;
|
||||
};
|
||||
void gem_context_require_ban_period(int fd);
|
||||
|
||||
Reference in New Issue
Block a user