diff options
author | Christian König <christian.koenig@amd.com> | 2018-09-07 14:27:05 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-12 16:28:28 -0500 |
commit | 433ca054949a6c9daac0ace1be5c33b25092bffa (patch) | |
tree | 5d2f6af92f9c2c200534ab2f8ea778018507192a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | d8de8260a45aae8f74af77eae9a162bdc0ed48d2 (diff) |
drm/amdgpu: try allocating VRAM as power of two
Try to allocate VRAM in power of two sizes and only fallback to vram
split sizes if that fails.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions