]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb-helper: Remove drm_fb_helper_connector
authorNoralf Trønnes <noralf@tronnes.org>
Sat, 8 Jun 2019 15:26:53 +0000 (17:26 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 11 Jun 2019 12:46:44 +0000 (14:46 +0200)
commitf38cf74a8942a303dc080d56154d92057f1cf90d
treef48cfd49731716d984d5fb581f72f420e793cad2
parent637f56333f836112a1baaa3ded7b7c0ce0fc7fb0
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
Documentation/gpu/todo.rst
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_client.h
include/drm/drm_fb_helper.h