Skip to content
Commit 14070057 authored by Jammy Zhou's avatar Jammy Zhou Committed by Alex Deucher
Browse files

amdgpu: fix 32-on-64 support (v2)



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

Signed-off-by: default avatarJammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
parent a4c83211
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment