diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2025-01-30 23:20:05 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-13 05:04:08 +0300 |
commit | 759e764f7d587283b4e0b01ff930faca64370e59 (patch) | |
tree | 48ebd7e09d09b636a5be0635e817b5e302171137 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 8b0d068e7dd177eca506d908622095b4a6c9d168 (diff) | |
download | linux-759e764f7d587283b4e0b01ff930faca64370e59.tar.xz |
drm/amdkfd: use GTT for VRAM on APUs only if GTT is larger
If the user has configured a large carveout on a small APU,
only use GTT for VRAM allocations if GTT is larger than
VRAM.
v2: fix reversed check (Philip)
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