mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Going forward, struct intel_display is the main display device data pointer. Convert as much as possible of intel_hotplug.[ch] to struct intel_display. Reviewed-by: Uma Shankar <uma.shankar@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://lore.kernel.org/r/cf382dbfacf1445b26fbe1e7c011e7a3ea6e1594.1742481923.git.jani.nikula@intel.com
38 lines
1.4 KiB
C
38 lines
1.4 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_HOTPLUG_H__
|
|
#define __INTEL_HOTPLUG_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum port;
|
|
struct intel_connector;
|
|
struct intel_digital_port;
|
|
struct intel_display;
|
|
struct intel_encoder;
|
|
|
|
void intel_hpd_poll_enable(struct intel_display *display);
|
|
void intel_hpd_poll_disable(struct intel_display *display);
|
|
void intel_hpd_poll_fini(struct intel_display *display);
|
|
enum intel_hotplug_state intel_encoder_hotplug(struct intel_encoder *encoder,
|
|
struct intel_connector *connector);
|
|
void intel_hpd_irq_handler(struct intel_display *display,
|
|
u32 pin_mask, u32 long_mask);
|
|
void intel_hpd_trigger_irq(struct intel_digital_port *dig_port);
|
|
void intel_hpd_init(struct intel_display *display);
|
|
void intel_hpd_init_early(struct intel_display *display);
|
|
void intel_hpd_cancel_work(struct intel_display *display);
|
|
enum hpd_pin intel_hpd_pin_default(enum port port);
|
|
void intel_hpd_block(struct intel_encoder *encoder);
|
|
void intel_hpd_unblock(struct intel_encoder *encoder);
|
|
void intel_hpd_clear_and_unblock(struct intel_encoder *encoder);
|
|
void intel_hpd_debugfs_register(struct intel_display *display);
|
|
|
|
void intel_hpd_enable_detection_work(struct intel_display *display);
|
|
void intel_hpd_disable_detection_work(struct intel_display *display);
|
|
bool intel_hpd_schedule_detection(struct intel_display *display);
|
|
|
|
#endif /* __INTEL_HOTPLUG_H__ */
|