projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm_modes: add of_videomode helpers
[firefly-linux-kernel-4.4.55.git]
/
include
/
drm
/
drmP.h
diff --git
a/include/drm/drmP.h
b/include/drm/drmP.h
index d5c06ffb7a310163187a4e8963ecd36abf7a0d54..fcc9d23825907d0112a1935447c5d43948effdce 100644
(file)
--- a/
include/drm/drmP.h
+++ b/
include/drm/drmP.h
@@
-85,6
+85,7
@@
struct module;
struct drm_file;
struct drm_device;
struct drm_file;
struct drm_device;
+struct device_node;
struct videomode;
#include <drm/drm_os_linux.h>
struct videomode;
#include <drm/drm_os_linux.h>
@@
-1460,6
+1461,9
@@
drm_mode_create_from_cmdline_mode(struct drm_device *dev,
extern int drm_display_mode_from_videomode(const struct videomode *vm,
struct drm_display_mode *dmode);
extern int drm_display_mode_from_videomode(const struct videomode *vm,
struct drm_display_mode *dmode);
+extern int of_get_drm_display_mode(struct device_node *np,
+ struct drm_display_mode *dmode,
+ int index);
/* Modesetting support */
extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc);
/* Modesetting support */
extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc);