diff options
| author | Felix Kuehling <[email protected]> | 2025-04-17 14:23:15 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-21 14:59:05 +0000 |
| commit | 3940796a6eefa555fec688a4adee5659ef9fa431 (patch) | |
| tree | f3023e1bb7a0403ef9213438fd1d1fbe41f85296 /drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | |
| parent | drm/amdgpu: add tmz queue parameter to mqd props (diff) | |
| download | kernel-3940796a6eefa555fec688a4adee5659ef9fa431.tar.gz kernel-3940796a6eefa555fec688a4adee5659ef9fa431.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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c')
0 files changed, 0 insertions, 0 deletions
