commit | 7e5a547f64af66fd906f266f0e8c9bde213d025c | [log] [tgz] |
---|---|---|
author | Chunming Zhou <[email protected]> | Fri Apr 24 17:37:30 2015 +0800 |
committer | Alex Deucher <[email protected]> | Wed Jun 03 21:03:52 2015 -0400 |
tree | c39a05c7ed28b6dc90b29696136d65b4d32d10d5 | |
parent | 5fc3aeeb9e553a20ce62544f7176c6c4aca52d71 [diff] |
drm/amdgpu: implement the allocation range (v3) Pass a ttm_placement pointer to amdgpu_bo_create_restricted add min_offset to amdgpu_bo_pin_restricted. This makes it easier to allocate memory with address restrictions. With this patch we can also enable 2-ended allocation again. v2: fix rebase conflicts v3: memset placements before using Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]>