]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/connector: Add deprecation notes for drm_connector_register/unregister
authorImre Deak <imre.deak@intel.com>
Wed, 11 Dec 2024 23:03:20 +0000 (01:03 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 17 Dec 2024 13:45:56 +0000 (15:45 +0200)
commitdae4f9b43c9e54bdf5a156f48333a7e2832da1a1
treee9da352af04af901006f54805a516612b1d0cc7a
parent2f17099ab9098e4541c7a2564b3dd7af9923c54b
drm/connector: Add deprecation notes for drm_connector_register/unregister

Drivers should register/unregister only dynamic (MST) connectors
manually using drm_connector_dynamic_register()/unregister().
Static connectors are registered/unregistered by the DRM core
automatically. Some drivers still call drm_connector_register()/
unregister() for static connectors, both of which should be a nop
for them and hence are scheduled to be removed. Update the function
documentation for these functions accordingly.

v2: s/deprication/deprecation in subject line. (Jani)

Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241211230328.4012496-4-imre.deak@intel.com
drivers/gpu/drm/drm_connector.c