kernel_samsung_a53x/include/drm
Hans de Goede 767af72d23 drm/connector: Add a fwnode pointer to drm_connector and register with ACPI (v2)
[ Upstream commit 48c429c6d18db115c277b75000152d8fa4cd35d0 ]

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
Stable-dep-of: 89434b069e46 ("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-08 11:26:14 +01:00
..
bridge Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amd_asic_type.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_agpsupport.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_atomic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_atomic_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_atomic_state_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_atomic_uapi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_audio_component.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_auth.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_blend.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_bridge.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_bridge_connector.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_client.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_color_mgmt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_connector.h drm/connector: Add a fwnode pointer to drm_connector and register with ACPI (v2) 2024-11-08 11:26:14 +01:00
drm_crtc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_crtc_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_damage_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_debugfs_crc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_device.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_displayid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_dp_dual_mode_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_dp_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_dp_mst_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_dsc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_edid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_encoder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_encoder_slave.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_fb_cma_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_fb_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_file.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_fixed.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_flip_work.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_format_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_fourcc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_framebuffer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_cma_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_framebuffer_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_shmem_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_ttm_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_vram_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_hashtab.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_hdcp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_ioctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_irq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_lease.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_legacy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_managed.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mipi_dbi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mipi_dsi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mode_config.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mode_object.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_modes.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_modeset_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_modeset_helper_vtables.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_modeset_lock.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_of.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_panel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_pciids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_plane.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_plane_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_prime.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_print.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_probe_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_property.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_rect.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_scdc_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_self_refresh_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_simple_kms_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_syncobj.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_sysfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_util.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_utils.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_vblank.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_vblank_work.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_vma_manager.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_writeback.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gma_drm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpu_scheduler.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_component.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_drm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_mei_hdcp_interface.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_pciids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-gtt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_lpe_audio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spsc_queue.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
task_barrier.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00