mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-24 00:06:09 +00:00
tests: match gem_create prototype in igt_eviction_test_ops create function
This avoids a warning when using gem_create as the create function. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
aa6c63463f
commit
7a5e1c6f0a
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
struct igt_eviction_test_ops
|
struct igt_eviction_test_ops
|
||||||
{
|
{
|
||||||
uint32_t (*create)(int fd, int size);
|
uint32_t (*create)(int fd, uint64_t size);
|
||||||
void (*flink)(uint32_t old_handle, uint32_t new_handle);
|
void (*flink)(uint32_t old_handle, uint32_t new_handle);
|
||||||
void (*close)(int fd, uint32_t bo);
|
void (*close)(int fd, uint32_t bo);
|
||||||
int (*copy)(int fd, uint32_t dst, uint32_t src,
|
int (*copy)(int fd, uint32_t dst, uint32_t src,
|
||||||
|
@ -362,7 +362,7 @@ static void free_handle_ptr(uint32_t handle)
|
|||||||
handle_ptr_map[handle] = NULL;
|
handle_ptr_map[handle] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t create_userptr_bo(int fd, int size)
|
static uint32_t create_userptr_bo(int fd, uint64_t size)
|
||||||
{
|
{
|
||||||
void *ptr;
|
void *ptr;
|
||||||
uint32_t handle;
|
uint32_t handle;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user