tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: More amd64 drmkms radeon



Taylor R Campbell wrote:
>   Date: Sun, 17 Aug 2014 16:19:54 +0100 (BST)
>   From: Robert Swindells <rjs%fdy2.co.uk@localhost>
>
>   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*.



Home | Main Index | Thread Index | Old Index