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)
commite5852bee90d6cb7d9bd2c635c056e7746f137e06
treef48cfd49731716d984d5fb581f72f420e793cad2
parent9ff3a5c88e1f1ab17a31402b96d45abe14aab9d7
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