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

Michel Dänzer michel at daenzer.net
Tue Sep 13 01:17:23 UTC 2016


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?


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


More information about the dri-devel mailing list