aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorMartin Oliveira <[email protected]>2021-07-29 14:15:23 -0600
committerChristoph Hellwig <[email protected]>2021-08-09 17:13:05 +0200
commitca33d26ac640bdf74e5fd0fcd711dbc5ab9f36c0 (patch)
tree3318cf418a51e69b765b9581a9dfd83641c67417 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentdabb16f67215918c48cf3ff1fc4bc36ca421da2b (diff)
alpha: return error code from alpha_pci_map_sg()
The .map_sg() op now expects an error code instead of zero on failure. pci_map_single_1() can fail for different reasons, but since the only supported type of error return is DMA_MAPPING_ERROR, we coalesce those errors into EIO. ENOMEM is returned when no page tables can be allocated. Signed-off-by: Martin Oliveira <[email protected]> Signed-off-by: Logan Gunthorpe <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Matt Turner <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions