diff options
Diffstat (limited to 'Documentation/gpu')
| -rw-r--r-- | Documentation/gpu/drm-kms-helpers.rst | 8 | ||||
| -rw-r--r-- | Documentation/gpu/todo.rst | 33 |
2 files changed, 25 insertions, 16 deletions
diff --git a/Documentation/gpu/drm-kms-helpers.rst b/Documentation/gpu/drm-kms-helpers.rst index 400cd0112713..d64f941d34f5 100644 --- a/Documentation/gpu/drm-kms-helpers.rst +++ b/Documentation/gpu/drm-kms-helpers.rst @@ -109,13 +109,13 @@ VBLANK Helper Reference fbdev Helper Functions Reference ================================ -.. kernel-doc:: drivers/gpu/drm/drm_fb_helper.c +.. kernel-doc:: drivers/gpu/drm/clients/drm_fbdev_helper.c :doc: fbdev helpers -.. kernel-doc:: include/drm/drm_fb_helper.h +.. kernel-doc:: include/drm/clients/drm_fbdev_helper.h :internal: -.. kernel-doc:: drivers/gpu/drm/drm_fb_helper.c +.. kernel-doc:: drivers/gpu/drm/clients/drm_fbdev_helper.c :export: Draw Helper Functions Reference @@ -218,7 +218,7 @@ Bridge Connector Helper Reference Panel-Bridge Helper Reference ----------------------------- -.. kernel-doc:: drivers/gpu/drm/bridge/panel.c +.. kernel-doc:: drivers/gpu/drm/drm_panel.c :export: .. _drm_panel_helper: diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index b7351467dc74..a437ae5c71f4 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -484,21 +484,30 @@ Contact: Douglas Anderson <dianders@chromium.org> Level: Starter -Remove devm_drm_put_bridge() ----------------------------- +Remove panel_bridge API functions +--------------------------------- -Due to how the panel bridge handles the drm_bridge object lifetime, special -care must be taken to dispose of the drm_bridge object when the -panel_bridge is removed. This is currently managed using -devm_drm_put_bridge(), but that is an unsafe, temporary workaround. To fix -that, the DRM panel lifetime needs to be reworked. After the rework is -done, remove devm_drm_put_bridge() and the TODO in -drm_panel_bridge_remove(). +Now that a drm_bridge is embedded into every drm_panel, the panel_bridge is +not needed anymore. Its APIs are just accessing the embedded drm_bridge +transparently, and the are deprecated. -Contact: Maxime Ripard <mripard@kernel.org>, - Luca Ceresoli <luca.ceresoli@bootlin.com> +The funcions to remove are: + - drm_panel_bridge_add_typed() + - devm_drm_of_get_bridge() + - drmm_of_get_bridge() + - drm_panel_bridge_remove() + - drmm_drm_panel_bridge_release() + - devm_drm_panel_bridge_release() + - their direct or indirect callers -Level: Intermediate +Convert users of those functions and eventually remove them when unused, or +make them static drm_panel.c functions when used internally by the +``drm_panel.c`` code. + +Contact: Luca Ceresoli <luca.ceresoli@bootlin.com> + Maxime Ripard <mripard@kernel.org>, + +Level: Easy Convert users of of_drm_find_bridge() to of_drm_find_and_get_bridge() --------------------------------------------------------------------- |
