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:03 +0000
committerAlex Deucher <[email protected]>2019-08-15 15:51:01 +0000
commit244511f386ccb90f3bea889e4d86a289015898f9 (patch)
tree8fe585cc2b155327fe77856b095965ef58dbfcba /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/radeon: simplify and cleanup setting the dma mask (diff)
downloadkernel-244511f386ccb90f3bea889e4d86a289015898f9.tar.gz
kernel-244511f386ccb90f3bea889e4d86a289015898f9.zip
drm/amdgpu: 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