panfrost: cast bo_handles pointer to uintptr_t first
authorMateusz Krzak <kszaquitto@gmail.com>
Sun, 7 Apr 2019 07:26:15 +0000 (09:26 +0200)
committerEric Anholt <eric@anholt.net>
Fri, 12 Apr 2019 16:33:00 +0000 (16:33 +0000)
commit411da8b80d34552141920ed07dd6d174e5c72307
tree98ed2f0793aa9c7cddc671c366d390e97d392c72
parent7eaaff18cb6109dd6c4c58de5a4d3be1362b21ae
panfrost: cast bo_handles pointer to uintptr_t first

Required for 64-bit kernel to interpret the pointer from 32-bit userspace.

Signed-off-by: Mateusz Krzak <kszaquitto@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_drm.c