aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2025-04-17 14:23:15 +0000
committerAlex Deucher <[email protected]>2025-04-22 20:44:02 +0000
commit5cf3c602df88b471178a5717b17e529d09acad84 (patch)
treeb86940d03bb68587f4dd0df80500813348cfd40f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentMerge tag 'drm-msm-fixes-2025-04-18' of https://gitlab.freedesktop.org/drm/ms... (diff)
downloadkernel-5cf3c602df88b471178a5717b17e529d09acad84.tar.gz
kernel-5cf3c602df88b471178a5717b17e529d09acad84.zip
drm/amdgpu: Use allowed_domains for pinning dmabufs
When determining the domains for pinning DMABufs, filter allowed_domains and fail with a warning if VRAM is forbidden and GTT is not an allowed domain. Fixes: f5e7fabd1f5c ("drm/amdgpu: allow pinning DMA-bufs into VRAM if all importers can do P2P") Suggested-by: Christian König <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 3940796a6eefa555fec688a4adee5659ef9fa431)
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions