From: Thomas Zimmermann <tzimmermann@suse.de>
To: javierm@redhat.com, maarten.lankhorst@linux.intel.com,
mripard@kernel.org, airlied@gmail.com, daniel@ffwll.ch,
linus.walleij@linaro.org
Cc: linux-aspeed@lists.ozlabs.org, dri-devel@lists.freedesktop.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH v2 06/25] drm/fsl-dcu: Use GEM DMA fbdev emulation
Date: Mon, 13 Mar 2023 16:51:19 +0100 [thread overview]
Message-ID: <20230313155138.20584-7-tzimmermann@suse.de> (raw)
In-Reply-To: <20230313155138.20584-1-tzimmermann@suse.de>
Use the fbdev emulation that is optimized for DMA helpers. Avoids
possible shadow buffering and makes the code simpler.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
---
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
index 8579c7629f5e..c09ba019ba5e 100644
--- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
+++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
@@ -20,7 +20,7 @@
#include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h>
-#include <drm/drm_fbdev_generic.h>
+#include <drm/drm_fbdev_dma.h>
#include <drm/drm_gem_dma_helper.h>
#include <drm/drm_modeset_helper.h>
#include <drm/drm_module.h>
@@ -333,7 +333,7 @@ static int fsl_dcu_drm_probe(struct platform_device *pdev)
if (ret < 0)
goto put;
- drm_fbdev_generic_setup(drm, legacyfb_depth);
+ drm_fbdev_dma_setup(drm, legacyfb_depth);
return 0;
--
2.39.2
next prev parent reply other threads:[~2023-03-13 15:51 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-13 15:51 [PATCH v2 00/25] drm/dma-helper: Add dedicated fbdev emulation Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 01/25] drm/fbdev-dma: Implement fbdev emulation for GEM DMA helpers Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 02/25] arm/hdlcd: Use GEM DMA fbdev emulation Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 03/25] arm/malidp: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 04/25] drm/aspeed: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 05/25] drm/atmel-hlcdc: " Thomas Zimmermann
2023-03-13 15:51 ` Thomas Zimmermann [this message]
2023-03-13 15:51 ` [PATCH v2 07/25] drm/imx/dcss: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 08/25] drm/imx: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 09/25] drm/kmb: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 10/25] drm/logicvc: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 11/25] drm/meson: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 12/25] drm/mxsfb/lcdif: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 13/25] drm/mxsfb: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 14/25] drm/sti: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 15/25] drm/stm: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 16/25] drm/sun4i: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 17/25] drm/tidss: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 18/25] drm/tilcdc: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 19/25] drm/arcpgu: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 20/25] drm/tve200: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 21/25] drm/vc4: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 22/25] drm/xlnx: " Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 23/25] drm/mcde: Do not use dirty GEM FB handling Thomas Zimmermann
2023-03-13 15:51 ` [PATCH v2 24/25] drm/mcde: Use GEM DMA fbdev emulation Thomas Zimmermann
2023-03-13 21:40 ` Linus Walleij
2023-03-13 15:51 ` [PATCH v2 25/25] drm/pl111: " Thomas Zimmermann
2023-03-13 21:41 ` Linus Walleij
2023-03-13 21:37 ` [PATCH v2 00/25] drm/dma-helper: Add dedicated " Linus Walleij
2023-03-14 16:09 ` Thomas Zimmermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230313155138.20584-7-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=javierm@redhat.com \
--cc=linus.walleij@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox