diff options
| author | 2018-09-07 14:27:05 +0200 | |
|---|---|---|
| committer | 2018-09-12 16:28:28 -0500 | |
| commit | 433ca054949a6c9daac0ace1be5c33b25092bffa (patch) | |
| tree | 5d2f6af92f9c2c200534ab2f8ea778018507192a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amdgpu: Fix SDMA TO after GPU reset v3 (diff) | |
| download | wireguard-linux-433ca054949a6c9daac0ace1be5c33b25092bffa.tar.xz wireguard-linux-433ca054949a6c9daac0ace1be5c33b25092bffa.zip | |
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
