0xffffffff was appended to the higher 32bit with (intptr_t) when use 32bit libdrm_amdgpu.so with 64bit kernel, and it caused segmentation fault for 32bit application.
v2: switch to uintptr_t
1407005 amdgpu: fix 32-on-64 support (v2)
amdgpu/amdgpu_bo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Upstream: cgit.freedesktop.org