summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_crtc_internal.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-08-17 23:51:55 +0200
committerHans de Goede <hdegoede@redhat.com>2021-08-20 12:35:59 +0200
commit48c429c6d18db115c277b75000152d8fa4cd35d0 (patch)
tree015f1e3aa9c11f2e4187d069dcd1ffa6ce110667 /drivers/gpu/drm/drm_crtc_internal.h
parent331de7db3012b8e8e8d77beebc8f743e288d4c42 (diff)
downloadlinux-48c429c6d18db115c277b75000152d8fa4cd35d0.tar.bz2
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 <heikki.krogerus@linux.intel.com> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Tested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Link: https://lore.kernel.org/r/20210817215201.795062-3-hdegoede@redhat.com
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_internal.h')
0 files changed, 0 insertions, 0 deletions