From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/gpu/drm/xlnx/zynqmp_dpsub.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/gpu/drm/xlnx/zynqmp_dpsub.c b/kernel/drivers/gpu/drm/xlnx/zynqmp_dpsub.c index 8e69303..5f6eea8 100644 --- a/kernel/drivers/gpu/drm/xlnx/zynqmp_dpsub.c +++ b/kernel/drivers/gpu/drm/xlnx/zynqmp_dpsub.c @@ -214,7 +214,9 @@ dpsub->dev = &pdev->dev; platform_set_drvdata(pdev, dpsub); - dma_set_mask(dpsub->dev, DMA_BIT_MASK(ZYNQMP_DISP_MAX_DMA_BIT)); + ret = dma_set_mask(dpsub->dev, DMA_BIT_MASK(ZYNQMP_DISP_MAX_DMA_BIT)); + if (ret) + return ret; /* Try the reserved memory. Proceed if there's none. */ of_reserved_mem_device_init(&pdev->dev); -- Gitblit v1.6.2