Commit e0ec8a4d authored by Christoph Hellwig's avatar Christoph Hellwig

drm/nouveau/gk20a: stop setting DMA_ATTR_NON_CONSISTENT

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: default avatarChristoph Hellwig <hch@lst.de>
parent 08281bd3
...@@ -594,8 +594,7 @@ gk20a_instmem_new(struct nvkm_device *device, int index, ...@@ -594,8 +594,7 @@ gk20a_instmem_new(struct nvkm_device *device, int index,
nvkm_info(&imem->base.subdev, "using IOMMU\n"); nvkm_info(&imem->base.subdev, "using IOMMU\n");
} else { } else {
imem->attrs = DMA_ATTR_NON_CONSISTENT | imem->attrs = DMA_ATTR_WEAK_ORDERING |
DMA_ATTR_WEAK_ORDERING |
DMA_ATTR_WRITE_COMBINE; DMA_ATTR_WRITE_COMBINE;
nvkm_info(&imem->base.subdev, "using DMA API\n"); nvkm_info(&imem->base.subdev, "using DMA API\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment