[PATCH] drm/amdgpu: improve GTT BO alloc speed in OGL

Alex Deucher alexdeucher at gmail.com
Tue Sep 13 02:53:44 UTC 2016


On Mon, Sep 12, 2016 at 9:17 PM, Michel Dänzer <michel at daenzer.net> wrote:
> On 13/09/16 01:44 AM, Alex Deucher wrote:
>> From: "monk.liu" <monk.liu at amd.com>
>>
>> original we use ttm_dma path to allocate GTT bo, which is too much
>> slower than the path of ttm_pool, in most cases.
>>
>> The swiotlb checks don't seem to work and we always end up in the
>> slow path even when an IOMMU is available.
>
> This change will break any cases where SWIOTLB is actually necessary
> though, won't it?

Yes, theoretically.

Alex

>
>
> --
> Earthling Michel Dänzer               |               http://www.amd.com
> Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list