projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
885054f
)
drm: sti: don't pass GFP_DMA32 to dma_alloc_wc
author
Christoph Hellwig
<hch@lst.de>
Sat, 13 Oct 2018 15:17:05 +0000
(17:17 +0200)
committer
Benjamin Gaignard
<benjamin.gaignard@linaro.org>
Thu, 18 Oct 2018 11:50:22 +0000
(13:50 +0200)
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: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20181013151707.32210-7-hch@lst.de
drivers/gpu/drm/sti/sti_gdp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/sti/sti_gdp.c
b/drivers/gpu/drm/sti/sti_gdp.c
index 3c19614d3f75e41a4ec48e0ef855214edcfe6354..cff7b2b5ee9ed07f848a8ebdaf55bb31384aba1f 100644
(file)
--- a/
drivers/gpu/drm/sti/sti_gdp.c
+++ b/
drivers/gpu/drm/sti/sti_gdp.c
@@
-517,7
+517,7
@@
static void sti_gdp_init(struct sti_gdp *gdp)
/* Allocate all the nodes within a single memory page */
size = sizeof(struct sti_gdp_node) *
GDP_NODE_PER_FIELD * GDP_NODE_NB_BANK;
- base = dma_alloc_wc(gdp->dev, size, &dma_addr, GFP_KERNEL
| GFP_DMA
);
+ base = dma_alloc_wc(gdp->dev, size, &dma_addr, GFP_KERNEL);
if (!base) {
DRM_ERROR("Failed to allocate memory for GDP node\n");