diff options
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index e74731c1a912..3aaa50d64451 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -85,6 +85,9 @@ struct module; | |||
85 | struct drm_file; | 85 | struct drm_file; |
86 | struct drm_device; | 86 | struct drm_device; |
87 | 87 | ||
88 | struct device_node; | ||
89 | struct videomode; | ||
90 | |||
88 | #include <drm/drm_os_linux.h> | 91 | #include <drm/drm_os_linux.h> |
89 | #include <drm/drm_hashtab.h> | 92 | #include <drm/drm_hashtab.h> |
90 | #include <drm/drm_mm.h> | 93 | #include <drm/drm_mm.h> |
@@ -1469,6 +1472,12 @@ extern struct drm_display_mode * | |||
1469 | drm_mode_create_from_cmdline_mode(struct drm_device *dev, | 1472 | drm_mode_create_from_cmdline_mode(struct drm_device *dev, |
1470 | struct drm_cmdline_mode *cmd); | 1473 | struct drm_cmdline_mode *cmd); |
1471 | 1474 | ||
1475 | extern int drm_display_mode_from_videomode(const struct videomode *vm, | ||
1476 | struct drm_display_mode *dmode); | ||
1477 | extern int of_get_drm_display_mode(struct device_node *np, | ||
1478 | struct drm_display_mode *dmode, | ||
1479 | int index); | ||
1480 | |||
1472 | /* Modesetting support */ | 1481 | /* Modesetting support */ |
1473 | extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc); | 1482 | extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc); |
1474 | extern void drm_vblank_post_modeset(struct drm_device *dev, int crtc); | 1483 | extern void drm_vblank_post_modeset(struct drm_device *dev, int crtc); |