diff options
author | 2025-04-17 10:23:15 -0400 | |
---|---|---|
committer | 2025-04-22 16:44:02 -0400 | |
commit | 5cf3c602df88b471178a5717b17e529d09acad84 (patch) | |
tree | b86940d03bb68587f4dd0df80500813348cfd40f /scripts/lib/kdoc/kdoc_files.py | |
parent | Merge tag 'drm-msm-fixes-2025-04-18' of https://gitlab.freedesktop.org/drm/msm into drm-fixes (diff) | |
download | linux-rng-5cf3c602df88b471178a5717b17e529d09acad84.tar.xz linux-rng-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 <christian.koenig@amd.com>
Signed-off-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3940796a6eefa555fec688a4adee5659ef9fa431)
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions