diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-06-08 17:26:53 +0200 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2019-06-11 14:46:44 +0200 |
commit | e5852bee90d6cb7d9bd2c635c056e7746f137e06 (patch) | |
tree | f48cfd49731716d984d5fb581f72f420e793cad2 /Documentation | |
parent | 9ff3a5c88e1f1ab17a31402b96d45abe14aab9d7 (diff) | |
download | linux-e5852bee90d6cb7d9bd2c635c056e7746f137e06.tar.gz linux-e5852bee90d6cb7d9bd2c635c056e7746f137e06.tar.bz2 linux-e5852bee90d6cb7d9bd2c635c056e7746f137e06.zip |
drm/fb-helper: Remove drm_fb_helper_connector
All drivers add all their connectors so there's no need to keep around an
array of available connectors. Instead we just put the useable (not
writeback) connectors in a temporary array using
drm_client_for_each_connector_iter() everytime we probe the outputs.
Other places where it's necessary to look at the connectors, we just
iterate over them using the same iterator function.
Rename functions which signature is changed since they will be moved to
drm_client in a later patch.
v6: Improve commit message (Sam Ravnborg)
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190608152657.36613-2-noralf@tronnes.org
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/gpu/todo.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 9d4038c50013..ab96ba0600a9 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -292,6 +292,10 @@ drm_fb_helper tasks - 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(). + Core refactorings ================= |