The DMA32 zone on imx8qm is empty, and GFP_DMA32 and GFP_DMA are a bad combination.
Signed-off-by: Xiaolei Wang <[email protected]> --- drivers/gpu/imx/dpu-blit/dpu-blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/imx/dpu-blit/dpu-blit.c b/drivers/gpu/imx/dpu-blit/dpu-blit.c index eef1f41156dd..39222ff9560b 100644 --- a/drivers/gpu/imx/dpu-blit/dpu-blit.c +++ b/drivers/gpu/imx/dpu-blit/dpu-blit.c @@ -59,7 +59,7 @@ static int dpu_cs_alloc_command_buffer(struct dpu_bliteng *dpu_be) /* command buffer need 32 bit address */ dpu_be->buffer_addr_virt = alloc_pages_exact(COMMAND_BUFFER_SIZE, - GFP_KERNEL | GFP_DMA | GFP_DMA32 | __GFP_ZERO); + GFP_KERNEL | GFP_DMA | __GFP_ZERO); if (!dpu_be->buffer_addr_virt) { dev_err(dpu_be->dev, "memory alloc failed for dpu command buffer\n"); return -ENOMEM; -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13445): https://lists.yoctoproject.org/g/linux-yocto/message/13445 Mute This Topic: https://lists.yoctoproject.org/mt/103395017/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
