diff options
author | Imre Deak <imre.deak@intel.com> | 2024-12-12 02:03:24 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2024-12-17 17:03:53 +0300 |
commit | 5a83c9293ca0cac25055d4b804b2ebee700eba6f (patch) | |
tree | a010bd0e83d9b8fbf1a3581e6895aeb3a46cf0e0 /tools/perf/scripts/python/task-analyzer.py | |
parent | 550949c67cedfee22334dcb47ec6447f39a96af0 (diff) | |
download | linux-5a83c9293ca0cac25055d4b804b2ebee700eba6f.tar.xz |
drm/nouveau/dp_mst: Expose a connector to kernel users after it's properly initialized
After a connector is added to the drm_mode_config::connector_list, it's
visible to any in-kernel users looking up connectors via the above list.
Make sure that the connector is properly initialized before such
look-ups, by initializing the connector with
drm_connector_dynamic_init() - which doesn't add the connector to the
list - and registering it with drm_connector_dynamic_register() - which
adds the connector to the list - after the initialization is complete.
v2: Fix s/drm_connector_dynamic_register()/drm_connector_dynamic_init()
typo in the commit log.
Cc: Karol Herbst <kherbst@redhat.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Danilo Krummrich <dakr@kernel.org>
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-8-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions