panfrost/drm: Cast pointer to u64 to fix warning
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 10 Mar 2019 19:16:56 +0000 (19:16 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 10 Mar 2019 19:16:56 +0000 (19:16 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_drm.c

index a4018a1c74af24f56e21e3e4974bbc6cd496df0b..6d1129ff5f2b7e4baa980ece69d8e4c9c04cc818 100644 (file)
@@ -206,7 +206,7 @@ panfrost_drm_submit_job(struct panfrost_context *ctx, u64 job_desc, int reqs, st
        struct panfrost_drm *drm = (struct panfrost_drm *)screen->driver;
         struct drm_panfrost_submit submit = {0,};
 
-        submit.in_syncs = &ctx->out_sync;
+        submit.in_syncs = (u64) (uintptr_t) &ctx->out_sync;
         submit.in_sync_count = 1;
 
         submit.out_sync = ctx->out_sync;