Mesa (master): freedreno/drm: Quiet pointer to u64 conversion warning

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 26 19:02:42 UTC 2019


Module: Mesa
Branch: master
Commit: a7c70bb2a1cee01e11b4b32df8213ac653eb7959
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7c70bb2a1cee01e11b4b32df8213ac653eb7959

Author: Kristian H. Kristensen <hoegsberg at google.com>
Date:   Fri Apr 26 11:37:36 2019 -0700

freedreno/drm: Quiet pointer to u64 conversion warning

---

 src/freedreno/drm/msm_pipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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),




More information about the mesa-commit mailing list