aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-04-26 11:37:36 -0700
committerKristian H. Kristensen <[email protected]>2019-04-26 11:58:44 -0700
commita7c70bb2a1cee01e11b4b32df8213ac653eb7959 (patch)
treee5368439e969a397cfbf28fcf2d274ca3a9723cf /src/freedreno
parent8bfb34fd0adf23fdb73cf5e4253b42cb2da58188 (diff)
freedreno/drm: Quiet pointer to u64 conversion warning
Diffstat (limited to 'src/freedreno')
-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),