mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
igt/gem_userptr_benchmark: Fix for upstream ioctl number
Hardcoding has upsides and downsides. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
70e6ed92ab
commit
bf57e93f50
@ -58,7 +58,7 @@
|
|||||||
#define PAGE_SIZE 4096
|
#define PAGE_SIZE 4096
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LOCAL_I915_GEM_USERPTR 0x34
|
#define LOCAL_I915_GEM_USERPTR 0x33
|
||||||
#define LOCAL_IOCTL_I915_GEM_USERPTR DRM_IOWR (DRM_COMMAND_BASE + LOCAL_I915_GEM_USERPTR, struct local_i915_gem_userptr)
|
#define LOCAL_IOCTL_I915_GEM_USERPTR DRM_IOWR (DRM_COMMAND_BASE + LOCAL_I915_GEM_USERPTR, struct local_i915_gem_userptr)
|
||||||
struct local_i915_gem_userptr {
|
struct local_i915_gem_userptr {
|
||||||
uint64_t user_ptr;
|
uint64_t user_ptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user