aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <[email protected]>2020-08-14 10:26:23 +0000
committerChristoph Hellwig <[email protected]>2020-08-14 14:27:05 +0000
commitd7e673ec2c8e0ea39c4c70fc490d67d7fbda869d (patch)
tree53d4869dd16cfe73992ceb71094b0914566d5f3d /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdma-pool: fix coherent pool allocations for IOMMU mappings (diff)
downloadkernel-d7e673ec2c8e0ea39c4c70fc490d67d7fbda869d.tar.gz
kernel-d7e673ec2c8e0ea39c4c70fc490d67d7fbda869d.zip
dma-pool: Only allocate from CMA when in same memory zone
There is no guarantee to CMA's placement, so allocating a zone specific atomic pool from CMA might return memory from a completely different memory zone. To get around this double check CMA's placement before allocating from it. Signed-off-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions