aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h9
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;
85struct drm_file; 85struct drm_file;
86struct drm_device; 86struct drm_device;
87 87
88struct device_node;
89struct 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 *
1469drm_mode_create_from_cmdline_mode(struct drm_device *dev, 1472drm_mode_create_from_cmdline_mode(struct drm_device *dev,
1470 struct drm_cmdline_mode *cmd); 1473 struct drm_cmdline_mode *cmd);
1471 1474
1475extern int drm_display_mode_from_videomode(const struct videomode *vm,
1476 struct drm_display_mode *dmode);
1477extern 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 */
1473extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc); 1482extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc);
1474extern void drm_vblank_post_modeset(struct drm_device *dev, int crtc); 1483extern void drm_vblank_post_modeset(struct drm_device *dev, int crtc);