[Mesa-dev] [PATCH 00/15] RadeonSI 32-bit GPU pointers

Christian König ckoenig.leichtzumerken at gmail.com
Sun Jan 7 08:50:58 UTC 2018


Am 07.01.2018 um 01:48 schrieb Marek Olšák:
> On Sat, Jan 6, 2018 at 5:51 PM, Christian König
> <ckoenig.leichtzumerken at gmail.com> wrote:
>> Hi Marek,
>>
>> actually I was on the verge to remove the 32bit VM support in libdrm because
>> it clashes with HMM and SVM in general.
>>
>> Is it possible to set the upper 32bit of the 64bit address to some fixed
>> value instead?
> Yes, but not on radeon. radeon only has 8GB of virtual address space and
> 4GB on older kernels. I would have to change LLVM to set the high bits
> differently on amdgpu but keep the high bits 0 on radeon.

That only matters on Vega10/Raven anyway.

But in general being able to define what LLVM uses for the upper bits 
sounds like a good idea to me, this way we can keep the handling in Mesa.

Going to send updated libdrm patches which keeps the 32bit range usable 
on Vega10/Raven as well.

Christian.

>
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list