Contributors: 14
Author Tokens Token Proportion Commits Commit Proportion
Dave Airlie 107 51.69% 5 18.52%
Thomas Zimmermann 35 16.91% 5 18.52%
Daniel Vetter 18 8.70% 2 7.41%
Maarten Lankhorst 13 6.28% 4 14.81%
Noralf Trönnes 9 4.35% 2 7.41%
Maxime Ripard 6 2.90% 1 3.70%
Lukas Wunner 6 2.90% 1 3.70%
Simon Ser 4 1.93% 1 3.70%
Imre Deak 2 0.97% 1 3.70%
Jani Nikula 2 0.97% 1 3.70%
Keith Packard 2 0.97% 1 3.70%
Marc-André Lureau 1 0.48% 1 3.70%
Jesse Barnes 1 0.48% 1 3.70%
Oleksandr Andrushchenko 1 0.48% 1 3.70%
Total 207 27


// SPDX-License-Identifier: GPL-2.0 OR MIT

#ifndef __DRM_PROBE_HELPER_H__
#define __DRM_PROBE_HELPER_H__

#include <drm/drm_modes.h>

struct drm_connector;
struct drm_crtc;
struct drm_device;
struct drm_modeset_acquire_ctx;

int drm_helper_probe_single_connector_modes(struct drm_connector
					    *connector, uint32_t maxX,
					    uint32_t maxY);
int drm_helper_probe_detect(struct drm_connector *connector,
			    struct drm_modeset_acquire_ctx *ctx,
			    bool force);
void drm_kms_helper_poll_init(struct drm_device *dev);
void drm_kms_helper_poll_fini(struct drm_device *dev);
bool drm_helper_hpd_irq_event(struct drm_device *dev);
bool drm_connector_helper_hpd_irq_event(struct drm_connector *connector);
void drm_kms_helper_hotplug_event(struct drm_device *dev);
void drm_kms_helper_connector_hotplug_event(struct drm_connector *connector);

void drm_kms_helper_poll_disable(struct drm_device *dev);
void drm_kms_helper_poll_enable(struct drm_device *dev);
void drm_kms_helper_poll_reschedule(struct drm_device *dev);
bool drm_kms_helper_is_poll_worker(void);

enum drm_mode_status drm_crtc_helper_mode_valid_fixed(struct drm_crtc *crtc,
						      const struct drm_display_mode *mode,
						      const struct drm_display_mode *fixed_mode);

int drm_connector_helper_get_modes_from_ddc(struct drm_connector *connector);
int drm_connector_helper_get_modes_fixed(struct drm_connector *connector,
					 const struct drm_display_mode *fixed_mode);
int drm_connector_helper_get_modes(struct drm_connector *connector);
int drm_connector_helper_tv_get_modes(struct drm_connector *connector);

#endif