diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-01-27 02:54:29 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 17:36:27 +0300 |
commit | 7f6db89418f9d26eb68e050ff16de8e9827011ca (patch) | |
tree | 1451c5e95d70afb2cec97abe5559ea1c9ee000b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 2046ed6c8aa951e4ae83c5022bb0a7c777386097 (diff) | |
download | linux-7f6db89418f9d26eb68e050ff16de8e9827011ca.tar.xz |
drm/amdgpu: dGPU mode placement support memory partition
dGPU mode uses VRAM manager to validate bo, amdgpu bo placement use the
mem_id to get the allocation range first, last page frame number
from xcp manager, pass to drm buddy allocator as the allowed range.
Signed-off-by: Philip Yang <Philip.Yang@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_gem.c')
0 files changed, 0 insertions, 0 deletions