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:02 +0000
committerAlex Deucher <[email protected]>2019-08-15 15:51:00 +0000
commit03127c58b93d7da5edb53118bdafabdcae3581ef (patch)
tree494582a0ba9bdbf227e748e5193bad48196a18da /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/amdgpu: handle PCIe root ports with addressing limitations (diff)
downloadkernel-03127c58b93d7da5edb53118bdafabdcae3581ef.tar.gz
kernel-03127c58b93d7da5edb53118bdafabdcae3581ef.zip
drm/radeon: simplify and cleanup setting the dma mask
Use dma_set_mask_and_coherent to set both masks in one go, and remove the no longer required fallback, as the kernel now always accepts larger than required DMA masks. Fail the driver probe if we can't set the DMA mask, as that means the system can only support a larger mask. 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