forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/drm_crtc_helper_internal.h
....@@ -32,16 +32,6 @@
3232 #include <drm/drm_encoder.h>
3333 #include <drm/drm_modes.h>
3434
35
-/* drm_fb_helper.c */
36
-#ifdef CONFIG_DRM_FBDEV_EMULATION
37
-int drm_fb_helper_modinit(void);
38
-#else
39
-static inline int drm_fb_helper_modinit(void)
40
-{
41
- return 0;
42
-}
43
-#endif
44
-
4535 /* drm_dp_aux_dev.c */
4636 #ifdef CONFIG_DRM_DP_AUX_CHARDEV
4737 int drm_dp_aux_dev_init(void);
....@@ -73,5 +63,11 @@
7363 const struct drm_display_mode *mode);
7464 enum drm_mode_status drm_encoder_mode_valid(struct drm_encoder *encoder,
7565 const struct drm_display_mode *mode);
76
-enum drm_mode_status drm_connector_mode_valid(struct drm_connector *connector,
77
- struct drm_display_mode *mode);
66
+int
67
+drm_connector_mode_valid(struct drm_connector *connector,
68
+ struct drm_display_mode *mode,
69
+ struct drm_modeset_acquire_ctx *ctx,
70
+ enum drm_mode_status *status);
71
+
72
+struct drm_encoder *
73
+drm_connector_get_single_encoder(struct drm_connector *connector);