diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-01-26 18:54:29 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 10:36:27 -0400 |
commit | 7f6db89418f9d26eb68e050ff16de8e9827011ca (patch) | |
tree | 1451c5e95d70afb2cec97abe5559ea1c9ee000b3 /drivers/gpu/drm/amd/amdgpu/ObjectID.h | |
parent | 2046ed6c8aa951e4ae83c5022bb0a7c777386097 (diff) |
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/ObjectID.h')
0 files changed, 0 insertions, 0 deletions