~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/drm/drm_probe_helper.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0 OR MIT
  2 
  3 #ifndef __DRM_PROBE_HELPER_H__
  4 #define __DRM_PROBE_HELPER_H__
  5 
  6 #include <drm/drm_modes.h>
  7 
  8 struct drm_connector;
  9 struct drm_crtc;
 10 struct drm_device;
 11 struct drm_modeset_acquire_ctx;
 12 
 13 int drm_helper_probe_single_connector_modes(struct drm_connector
 14                                             *connector, uint32_t maxX,
 15                                             uint32_t maxY);
 16 int drm_helper_probe_detect(struct drm_connector *connector,
 17                             struct drm_modeset_acquire_ctx *ctx,
 18                             bool force);
 19 
 20 int drmm_kms_helper_poll_init(struct drm_device *dev);
 21 void drm_kms_helper_poll_init(struct drm_device *dev);
 22 void drm_kms_helper_poll_fini(struct drm_device *dev);
 23 bool drm_helper_hpd_irq_event(struct drm_device *dev);
 24 bool drm_connector_helper_hpd_irq_event(struct drm_connector *connector);
 25 void drm_kms_helper_hotplug_event(struct drm_device *dev);
 26 void drm_kms_helper_connector_hotplug_event(struct drm_connector *connector);
 27 
 28 void drm_kms_helper_poll_disable(struct drm_device *dev);
 29 void drm_kms_helper_poll_enable(struct drm_device *dev);
 30 void drm_kms_helper_poll_reschedule(struct drm_device *dev);
 31 bool drm_kms_helper_is_poll_worker(void);
 32 
 33 enum drm_mode_status drm_crtc_helper_mode_valid_fixed(struct drm_crtc *crtc,
 34                                                       const struct drm_display_mode *mode,
 35                                                       const struct drm_display_mode *fixed_mode);
 36 
 37 int drm_connector_helper_get_modes_fixed(struct drm_connector *connector,
 38                                          const struct drm_display_mode *fixed_mode);
 39 int drm_connector_helper_get_modes(struct drm_connector *connector);
 40 int drm_connector_helper_tv_get_modes(struct drm_connector *connector);
 41 
 42 int drm_connector_helper_detect_from_ddc(struct drm_connector *connector,
 43                                          struct drm_modeset_acquire_ctx *ctx,
 44                                          bool force);
 45 
 46 #endif
 47 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php