Required for 64-bit kernel to interpret the pointer from 32-bit userspace.
Signed-off-by: Mateusz Krzak <kszaquitto@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
bo_handles[submit.bo_handle_count++] = ctx->tiler_heap.gem_handle;
bo_handles[submit.bo_handle_count++] = ctx->varying_mem.gem_handle;
bo_handles[submit.bo_handle_count++] = ctx->misc_0.gem_handle;
- submit.bo_handles = (u64)bo_handles;
+ submit.bo_handles = (u64) (uintptr_t) bo_handles;
/* Dump memory _before_ submitting so we're not corrupted with actual GPU results */
pantrace_dump_memory();