summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_crtc_helper_internal.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-06-08 04:48:17 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-06-08 04:48:17 +0000
commit999f0686e0633f8b7bb9b76a14e47f5c20d2ea36 (patch)
treedbe3cb52b25db114fa92d119c4d7489e1632683b /sys/dev/pci/drm/drm_crtc_helper_internal.h
parent8f362563d8e3edaf51e661f18685f44716781993 (diff)
update drm to linux 5.7
adds kernel support for amdgpu: vega20, raven2, renoir, navi10, navi14 inteldrm: icelake, tigerlake Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for helping, patrick@ for helping adapt rockchip drm and many developers for testing.
Diffstat (limited to 'sys/dev/pci/drm/drm_crtc_helper_internal.h')
-rw-r--r--sys/dev/pci/drm/drm_crtc_helper_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_crtc_helper_internal.h b/sys/dev/pci/drm/drm_crtc_helper_internal.h
index b5ac1581e62..f0a66ef47e5 100644
--- a/sys/dev/pci/drm/drm_crtc_helper_internal.h
+++ b/sys/dev/pci/drm/drm_crtc_helper_internal.h
@@ -75,3 +75,6 @@ enum drm_mode_status drm_encoder_mode_valid(struct drm_encoder *encoder,
const struct drm_display_mode *mode);
enum drm_mode_status drm_connector_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode);
+
+struct drm_encoder *
+drm_connector_get_single_encoder(struct drm_connector *connector);