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

Marek Olšák maraeo at gmail.com
Sun Jan 7 16:42:27 UTC 2018


On Sun, Jan 7, 2018 at 9:50 AM, Christian König
<ckoenig.leichtzumerken at gmail.com> wrote:
> 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.

What is wrong with Vega10/Raven? The 32bit range works fine on Raven here.

Marek


More information about the mesa-dev mailing list