freedreno/drm: Quiet pointer to u64 conversion warning
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 26 Apr 2019 18:37:36 +0000 (11:37 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 26 Apr 2019 18:58:44 +0000 (11:58 -0700)
src/freedreno/drm/msm_pipe.c

index faad1f6d35d08505a1d17e901cf9a9d4e78c76ab..e42d3b9af65deec68b40bd1799ec5fca2a3a11c3 100644 (file)
@@ -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),