summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/drm/msm_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/drm/msm_pipe.c b/src/freedreno/drm/msm_pipe.c
index faad1f6d35d..e42d3b9af65 100644
--- a/src/freedreno/drm/msm_pipe.c
+++ b/src/freedreno/drm/msm_pipe.c
@@ -53,7 +53,7 @@ static int query_queue_param(struct fd_pipe *pipe, uint32_t param,
{
struct msm_pipe *msm_pipe = to_msm_pipe(pipe);
struct drm_msm_submitqueue_query req = {
- .data = value,
+ .data = VOID2U64(value),
.id = msm_pipe->queue_id,
.param = param,
.len = sizeof(*value),