aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_crtc.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-07-03 20:47:19 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 02:05:04 -0400
commit048a88595a66526f68636b51b1cdb5842bc0f28c (patch)
treeb1d1378c1d6b87c9ab5687f355630697a2a3874a /drivers/gpu/drm/nouveau/nouveau_crtc.h
parent2e9733ff7d4f1c7185bea16041f532d6142ca40a (diff)
drm/nouveau: make general drm modesetting init common
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_crtc.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_crtc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_crtc.h b/drivers/gpu/drm/nouveau/nouveau_crtc.h
index cb1ce2a09162..bf8e1289953d 100644
--- a/drivers/gpu/drm/nouveau/nouveau_crtc.h
+++ b/drivers/gpu/drm/nouveau/nouveau_crtc.h
@@ -82,14 +82,13 @@ static inline struct drm_crtc *to_drm_crtc(struct nouveau_crtc *crtc)
82} 82}
83 83
84int nv50_crtc_create(struct drm_device *dev, int index); 84int nv50_crtc_create(struct drm_device *dev, int index);
85int nv50_cursor_init(struct nouveau_crtc *);
86void nv50_cursor_fini(struct nouveau_crtc *);
87int nv50_crtc_cursor_set(struct drm_crtc *drm_crtc, struct drm_file *file_priv, 85int nv50_crtc_cursor_set(struct drm_crtc *drm_crtc, struct drm_file *file_priv,
88 uint32_t buffer_handle, uint32_t width, 86 uint32_t buffer_handle, uint32_t width,
89 uint32_t height); 87 uint32_t height);
90int nv50_crtc_cursor_move(struct drm_crtc *drm_crtc, int x, int y); 88int nv50_crtc_cursor_move(struct drm_crtc *drm_crtc, int x, int y);
91 89
92int nv04_cursor_init(struct nouveau_crtc *); 90int nv04_cursor_init(struct nouveau_crtc *);
91int nv50_cursor_init(struct nouveau_crtc *);
93 92
94struct nouveau_connector * 93struct nouveau_connector *
95nouveau_crtc_connector_get(struct nouveau_crtc *crtc); 94nouveau_crtc_connector_get(struct nouveau_crtc *crtc);