diff options
| author | Hans de Goede <[email protected]> | 2021-08-17 23:51:55 +0200 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-08-20 12:35:59 +0200 |
| commit | 48c429c6d18db115c277b75000152d8fa4cd35d0 (patch) | |
| tree | 015f1e3aa9c11f2e4187d069dcd1ffa6ce110667 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 331de7db3012b8e8e8d77beebc8f743e288d4c42 (diff) | |
drm/connector: Add a fwnode pointer to drm_connector and register with ACPI (v2)
Add a fwnode pointer to struct drm_connector and register an acpi_bus_type
for the connectors with the ACPI subsystem (when CONFIG_ACPI is enabled).
The adding of the fwnode pointer allows drivers to associate a fwnode
that represents a connector with that connector.
When the new fwnode pointer points to an ACPI-companion, then the new
acpi_bus_type will cause the ACPI subsys to bind the device instantiated
for the connector with the fwnode by calling acpi_bind_one(). This will
result in a firmware_node symlink under /sys/class/card#-<connecter-name>/
which helps to verify that the fwnode-s and connectors are properly
matched.
Changes in v2:
- Make drm_connector_cleanup() call fwnode_handle_put() on
connector->fwnode and document this
Co-developed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Heikki Krogerus <[email protected]>
Tested-by: Heikki Krogerus <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions