aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-02-07 21:34:44 -0500
committerDave Airlie <airlied@redhat.com>2013-02-07 21:34:44 -0500
commited914f69f8f979ea2b664abc4f1437235cf3db35 (patch)
tree43d839d79d02f4a9415199a2db7a4b6cfeb281eb /include/drm
parentbb0f78dd7ded88082b2430c43c65bc821c4ea360 (diff)
parentedb37a95c58147f89713e6c5cd220fa8fdfb4833 (diff)
Merge tag 'of_videomode_helper' of git://git.pengutronix.de/git/str/linux into drm-next
videomode helpers for of + devicetree stuff, required for new kms drivers (not the fbdev maintainer). * tag 'of_videomode_helper' of git://git.pengutronix.de/git/str/linux: drm_modes: add of_videomode helpers drm_modes: add videomode helpers fbmon: add of_videomode helpers fbmon: add videomode helpers video: add of helper for display timings/videomode video: add display_timing and videomode viafb: rename display_timing to via_display_timing
Diffstat (limited to 'include/drm')
-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);