kernel_samsung_a53x/include/drm
Hans de Goede 040a07667f drm/connector: Add support for out-of-band hotplug notification (v3)
[ Upstream commit 72ad49682dde3d9de5708b8699dc8e0b44962322 ]

Add a new drm_connector_oob_hotplug_event() function and
oob_hotplug_event drm_connector_funcs member.

On some hardware a hotplug event notification may come from outside the
display driver / device. An example of this is some USB Type-C setups
where the hardware muxes the DisplayPort data and aux-lines but does
not pass the altmode HPD status bit to the GPU's DP HPD pin.

In cases like this the new drm_connector_oob_hotplug_event() function can
be used to report these out-of-band events.

Changes in v2:
- Make drm_connector_oob_hotplug_event() take a fwnode as argument and
  have it call drm_connector_find_by_fwnode() internally. This allows
  making drm_connector_find_by_fwnode() a drm-internal function and
  avoids code outside the drm subsystem potentially holding on the
  a drm_connector reference for a longer period.

Changes in v3:
- Drop the data argument to the drm_connector_oob_hotplug_event
  function since it is not used atm. This can be re-added later when
  a use for it actually arises.

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-5-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:15 +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 support for out-of-band hotplug notification (v3) 2024-11-08 11:26:15 +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