aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-03-10 19:16:56 +0000
committerAlyssa Rosenzweig <[email protected]>2019-03-10 19:16:56 +0000
commitea2cd73625950a56dffb1bfc009ae86c53545ce0 (patch)
tree921303c0312b98d23def89c7e624c3e6a0119cfe
parent756f7b99895404bc7d7ce0cfcd84044cc21a799f (diff)
panfrost/drm: Cast pointer to u64 to fix warning
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r--src/gallium/drivers/panfrost/pan_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_drm.c b/src/gallium/drivers/panfrost/pan_drm.c
index a4018a1c74a..6d1129ff5f2 100644
--- a/src/gallium/drivers/panfrost/pan_drm.c
+++ b/src/gallium/drivers/panfrost/pan_drm.c
@@ -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;