Skip to content

Commit

Permalink
drm/nouveau/gk20a: stop setting DMA_ATTR_NON_CONSISTENT
Browse files Browse the repository at this point in the history
DMA_ATTR_NON_CONSISTENT is a no-op except on PA-RISC and a few MIPS
configs, so don't set it in this ARM specific driver part.

Signed-off-by: Christoph Hellwig <[email protected]>
  • Loading branch information
Christoph Hellwig committed Sep 25, 2020
1 parent 08281bd commit e0ec8a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,7 @@ gk20a_instmem_new(struct nvkm_device *device, int index,

nvkm_info(&imem->base.subdev, "using IOMMU\n");
} else {
imem->attrs = DMA_ATTR_NON_CONSISTENT |
DMA_ATTR_WEAK_ORDERING |
imem->attrs = DMA_ATTR_WEAK_ORDERING |
DMA_ATTR_WRITE_COMBINE;

nvkm_info(&imem->base.subdev, "using DMA API\n");
Expand Down

0 comments on commit e0ec8a4

Please sign in to comment.