diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2025-01-30 23:12:58 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-13 05:04:08 +0300 |
commit | 8b0d068e7dd177eca506d908622095b4a6c9d168 (patch) | |
tree | 0d7f30b5f4b5639f942361b0406941031df6ca4c /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | cc0e91a75533d76def12f2bedb95b00a8f70cebc (diff) | |
download | linux-8b0d068e7dd177eca506d908622095b4a6c9d168.tar.xz |
drm/amdkfd: add a new flag to manage where VRAM allocations go
On big and small APUs we send KFD VRAM allocations to GTT
since the carve out is either non-existent or relatively
small. However, if someone sets the carve out size to be
relatively large, we may end up using GTT rather than VRAM.
No change of logic with this patch, but it allows the
driver to determine which logic to use based on the
carve out size in the future.
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions