Re: [PATCH 11/22] drm/meson: Use GEM DMA fbdev emulation

2023-03-09 Thread Javier Martinez Canillas
Thomas Zimmermann  writes:

> Use the fbdev emulation that is optimized for DMA helpers. Avoids
> possible shadow buffering and makes the code simpler.
>
> Signed-off-by: Thomas Zimmermann 
> ---

Reviewed-by: Javier Martinez Canillas 

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



Re: [PATCH 11/22] drm/meson: Use GEM DMA fbdev emulation

2023-03-04 Thread Martin Blumenstingl
On Wed, Mar 1, 2023 at 4:31 PM Thomas Zimmermann  wrote:
>
> Use the fbdev emulation that is optimized for DMA helpers. Avoids
> possible shadow buffering and makes the code simpler.
>
> Signed-off-by: Thomas Zimmermann 
Acked-by: Martin Blumenstingl 


[PATCH 11/22] drm/meson: Use GEM DMA fbdev emulation

2023-03-01 Thread Thomas Zimmermann
Use the fbdev emulation that is optimized for DMA helpers. Avoids
possible shadow buffering and makes the code simpler.

Signed-off-by: Thomas Zimmermann 
---
 drivers/gpu/drm/meson/meson_drv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/meson/meson_drv.c 
b/drivers/gpu/drm/meson/meson_drv.c
index 79bfe3938d3c..6608a251106b 100644
--- a/drivers/gpu/drm/meson/meson_drv.c
+++ b/drivers/gpu/drm/meson/meson_drv.c
@@ -18,7 +18,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include 
 #include 
 #include 
@@ -353,7 +353,7 @@ static int meson_drv_bind_master(struct device *dev, bool 
has_components)
if (ret)
goto uninstall_irq;
 
-   drm_fbdev_generic_setup(drm, 32);
+   drm_fbdev_dma_setup(drm, 32);
 
return 0;
 
-- 
2.39.2