summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc_helper.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-04 11:59:28 +1000
committerDave Airlie <airlied@redhat.com>2008-06-04 11:59:28 +1000
commit76a44f14d6339e5bc0c936ef4a360f6c152511bd (patch)
tree9a30ceb48967616ec1c44760a7ce2a7fb5ea4a04 /linux-core/drm_crtc_helper.h
parent40229b6ad539cebad5ebe8ca373796ca2422efdb (diff)
drm/modesetting: overhaul the fb create/delete.
Move TTM code into the driver
Diffstat (limited to 'linux-core/drm_crtc_helper.h')
-rw-r--r--linux-core/drm_crtc_helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drm_crtc_helper.h b/linux-core/drm_crtc_helper.h
index 3a3a4d4f..460fd0d0 100644
--- a/linux-core/drm_crtc_helper.h
+++ b/linux-core/drm_crtc_helper.h
@@ -72,6 +72,10 @@ extern int drm_crtc_helper_set_config(struct drm_mode_set *set);
extern bool drm_crtc_helper_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
int x, int y);
extern bool drm_helper_crtc_in_use(struct drm_crtc *crtc);
+
+extern int drm_helper_mode_fill_fb_struct(struct drm_framebuffer *fb,
+ struct drm_mode_fb_cmd *mode_cmd);
+
static inline void drm_crtc_helper_add(struct drm_crtc *crtc, const struct drm_crtc_helper_funcs *funcs)
{
crtc->helper_private = (void *)funcs;