aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-08-15 07:27:01 +0000
committerAlex Deucher <[email protected]>2019-08-15 15:51:00 +0000
commit90489ce18c3a504c781c8cfcec013258c3459328 (patch)
tree5bf1e8a6f580834b23a3c71a126acc67502cd950 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/radeon: handle PCIe root ports with addressing limitations (diff)
downloadkernel-90489ce18c3a504c781c8cfcec013258c3459328.tar.gz
kernel-90489ce18c3a504c781c8cfcec013258c3459328.zip
drm/amdgpu: handle PCIe root ports with addressing limitations
amdgpu uses a need_dma32 flag to indicate to the drm core that some allocations need to be done using GFP_DMA32, but it only checks the device addressing capabilities to make that decision. Unfortunately PCIe root ports that have limited addressing exist as well. Use the dma_addressing_limited instead to also take those into account. Reviewed-by: Christian König <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions