Skip to content

Commit 3cd6954

Browse files
Christoph Hellwigmchehab
authored andcommitted
media: sti/bdisp: don't pass GFP_DMA32 to dma_alloc_attrs
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
1 parent dee0808 commit 3cd6954

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/media/platform/sti/bdisp/bdisp-hw.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ int bdisp_hw_alloc_filters(struct device *dev)
510510

511511
/* Allocate all the filters within a single memory page */
512512
size = (BDISP_HF_NB * NB_H_FILTER) + (BDISP_VF_NB * NB_V_FILTER);
513-
base = dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL | GFP_DMA,
513+
base = dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL,
514514
DMA_ATTR_WRITE_COMBINE);
515515
if (!base)
516516
return -ENOMEM;

0 commit comments

Comments
 (0)