[PATCH 1/2] drm/todo: Convert drivers to generic fbdev emulation

Thomas Zimmermann tzimmermann at suse.de
Tue Oct 29 07:06:15 UTC 2019

This replaces the orignal TODO item for drm_fb_helper_fbdev_setup() and
_teardown(), which are deprecated.

Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
 Documentation/gpu/todo.rst | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
index 6792fa9b6b6b..4aa767461e0e 100644
--- a/Documentation/gpu/todo.rst
+++ b/Documentation/gpu/todo.rst
@@ -171,10 +171,10 @@ Contact: Maintainer of the driver you plan to convert
 Level: Intermediate
-Convert drivers to use drm_fb_helper_fbdev_setup/teardown()
+Convert drivers to use drm_fbdev_generic_setup()
-Most drivers can use drm_fb_helper_fbdev_setup() except maybe:
+Most drivers can use drm_fbdev_generic_setup() except maybe:
 - amdgpu which has special logic to decide whether to call
@@ -184,8 +184,10 @@ Most drivers can use drm_fb_helper_fbdev_setup() except maybe:
 - i915 which calls drm_fb_helper_initial_config() in a worker
-Drivers that use drm_framebuffer_remove() to clean up the fbdev framebuffer can
-probably use drm_fb_helper_fbdev_teardown().
+Current generic fbdev emulation expects the framebuffer in system
+memory (or system-like memory). This might be a problem for certain
+drivers. Generic fbdev emulation should have a way of operating on
+I/O memory.
 Contact: Maintainer of the driver you plan to convert
@@ -328,9 +330,6 @@ drm_fb_helper tasks
   these igt tests need to be fixed: kms_fbcon_fbt at psr and
   kms_fbcon_fbt at psr-suspend.
-- The max connector argument for drm_fb_helper_init() and
-  drm_fb_helper_fbdev_setup() isn't used anymore and can be removed.
 - The helper doesn't keep an array of connectors anymore so these can be
   removed: drm_fb_helper_single_add_all_connectors(),
   drm_fb_helper_add_one_connector() and drm_fb_helper_remove_one_connector().

More information about the dri-devel mailing list