aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-04-10 20:30:12 -0700
committerJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-04-10 20:30:12 -0700
commit83c3acb7da1043a63d260d5443f7149b2c664b08 (patch)
tree95d9e0efef3bc72fa90ee4fac60ec74ce406f1db /linux-core/drm_crtc.h
parentbee546ad696e3157b878dfa90e563786b5b5c7ac (diff)
Split TV property creation into its own routine
It needs to take arguments from the caller about supported TV formats, so declare it in drm_crtc.h and export it.
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index 74316aa5..20b1ea06 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -611,6 +611,8 @@ extern struct drm_property *drm_property_create(struct drm_device *dev, int flag
extern void drm_property_destroy(struct drm_device *dev, struct drm_property *property);
extern int drm_property_add_enum(struct drm_property *property, int index,
uint64_t value, const char *name);
+extern bool drm_create_tv_properties(struct drm_device *dev, int num_formats,
+ char *formats[]);
/* IOCTLs */
extern int drm_mode_getresources(struct drm_device *dev,