Commit c1eef5ae authored by Thomas Zimmermann's avatar Thomas Zimmermann

drm/ingenic: Use fbdev-dma

Implement fbdev emulation with fbdev-dma. Fbdev-dma now supports
damage handling, which is required by ingenic. Avoids the overhead of
fbdev-generic's additional shadow buffering. No functional changes.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Cc: Paul Cercueil <paul@crapouillou.net>
Acked-by: default avatarPaul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20240419083331.7761-26-tzimmermann@suse.de
parent 931af444
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <drm/drm_encoder.h> #include <drm/drm_encoder.h>
#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_dma_helper.h>
#include <drm/drm_fb_dma_helper.h> #include <drm/drm_fb_dma_helper.h>
#include <drm/drm_fbdev_generic.h> #include <drm/drm_fbdev_dma.h>
#include <drm/drm_fourcc.h> #include <drm/drm_fourcc.h>
#include <drm/drm_framebuffer.h> #include <drm/drm_framebuffer.h>
#include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_atomic_helper.h>
...@@ -1399,7 +1399,7 @@ static int ingenic_drm_bind(struct device *dev, bool has_components) ...@@ -1399,7 +1399,7 @@ static int ingenic_drm_bind(struct device *dev, bool has_components)
goto err_clk_notifier_unregister; goto err_clk_notifier_unregister;
} }
drm_fbdev_generic_setup(drm, 32); drm_fbdev_dma_setup(drm, 32);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment