winsys/amdgpu: align VA allocations to fragment size v2
authorChristian König <christian.koenig@amd.com>
Tue, 23 May 2017 16:40:18 +0000 (18:40 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 24 May 2017 08:32:19 +0000 (10:32 +0200)
commit5318870f5457104aae87d7cd81b347e1aea231ea
tree39e62483c10463cbd1530162d07109bdbbae36e9
parent51dc5e3df38b2be0549c96b52548df1c92e36e96
winsys/amdgpu: align VA allocations to fragment size v2

BOs larger than the minimum fragment size should have their VA
alignet to at least the fragment size for optimal performance.

v2: drop unused leftover from initial implementation

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c