Commit 236bab5c authored by Chris Wilson's avatar Chris Wilson 🤔

lib: Fix types for gem_create()

Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 263da26b
......@@ -416,7 +416,7 @@ uint32_t __gem_create(int fd, int size)
*
* Returns: The file-private handle of the created buffer object
*/
uint32_t gem_create(int fd, int size)
uint32_t gem_create(int fd, uint64_t size)
{
struct drm_i915_gem_create create;
......
......@@ -57,7 +57,7 @@ void gem_set_domain(int fd, uint32_t handle,
uint32_t read_domains, uint32_t write_domain);
void gem_sync(int fd, uint32_t handle);
uint32_t __gem_create(int fd, int size);
uint32_t gem_create(int fd, int size);
uint32_t gem_create(int fd, uint64_t size);
void gem_execbuf(int fd, struct drm_i915_gem_execbuffer2 *execbuf);
void *gem_mmap__gtt(int fd, uint32_t handle, int size, int prot);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment