diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-10-19 11:36:17 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-10-19 11:37:07 +0100 |
commit | 5ec54d8a2165f5095ec70b9bdb9ae583fead39c2 (patch) | |
tree | 66be89678a69cef4510790bf9b7f17bc780d5ba8 /lib/ioctl_wrappers.h | |
parent | a22719358d8fc7d4261829847e1ace042575a723 (diff) |
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>
Diffstat (limited to 'lib/ioctl_wrappers.h')
-rw-r--r-- | lib/ioctl_wrappers.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h index 7505acbe..e575bb8d 100644 --- a/lib/ioctl_wrappers.h +++ b/lib/ioctl_wrappers.h @@ -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); |