6cee989915
This returns the underlying device pointer but as an opaque uintptr_t. This will be required because libdrm_amdgpu will return the same device when called multiple times from the same process. radeonsi relies on the pointer value to identify if the device are the same and adjust the synchronisation logic based on that. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33081>