Taylor R Campbell wrote:
>   Date: Sun, 17 Aug 2014 16:19:54 +0100 (BST)
>   From: Robert Swindells <[email protected]>
>
>   On i386, the ioctl() of DRM_RADEON_GEM_MMAP is returning addresses
>   above 4GB which obviously cause drmMap() of them to fail.
>
>This isn't obvious to me -- off_t is 64-bit everywhere, and the
>`addresses' that DRM_RADEON_GEM_MMAP returns are not physical
>addresses but cookies that correspond to graphics buffers.  If drmMap
>fails, that might mean the mapping between cookies and buffers (the
>`drm_vma' data structures) is wrong.

I think the problem is in libdrm, the address argument to drmMap() is
just a void*.

Reply via email to