winsys/amdgpu: overallocate buffers for faster address translation on Gfx9
authorMarek Olšák <marek.olsak@amd.com>
Wed, 21 Nov 2018 23:06:54 +0000 (18:06 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 29 Nov 2018 01:20:27 +0000 (20:20 -0500)
commitf737fe00a047ae1ae9ec4e15a4ea8b578389f2f6
treef061171582d69a02dbd5f02981eaccc6a5697bf7
parent8c00f778fc336344afda023e137f25958fb3cb75
winsys/amdgpu: overallocate buffers for faster address translation on Gfx9

Sadly, the 3 games I tested (DeusEx:MD, DiRT Rally, DOTA 2) are unaffected
by the overallocation, because I guess their buffers don't fall into
the small range below a power-of-two size.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c