diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-07-03 20:47:19 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-09-20 02:05:04 -0400 |
commit | 048a88595a66526f68636b51b1cdb5842bc0f28c (patch) | |
tree | b1d1378c1d6b87c9ab5687f355630697a2a3874a /drivers/gpu/drm/nouveau/nouveau_crtc.h | |
parent | 2e9733ff7d4f1c7185bea16041f532d6142ca40a (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.h | 3 |
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 | ||
84 | int nv50_crtc_create(struct drm_device *dev, int index); | 84 | int nv50_crtc_create(struct drm_device *dev, int index); |
85 | int nv50_cursor_init(struct nouveau_crtc *); | ||
86 | void nv50_cursor_fini(struct nouveau_crtc *); | ||
87 | int nv50_crtc_cursor_set(struct drm_crtc *drm_crtc, struct drm_file *file_priv, | 85 | int 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); |
90 | int nv50_crtc_cursor_move(struct drm_crtc *drm_crtc, int x, int y); | 88 | int nv50_crtc_cursor_move(struct drm_crtc *drm_crtc, int x, int y); |
91 | 89 | ||
92 | int nv04_cursor_init(struct nouveau_crtc *); | 90 | int nv04_cursor_init(struct nouveau_crtc *); |
91 | int nv50_cursor_init(struct nouveau_crtc *); | ||
93 | 92 | ||
94 | struct nouveau_connector * | 93 | struct nouveau_connector * |
95 | nouveau_crtc_connector_get(struct nouveau_crtc *crtc); | 94 | nouveau_crtc_connector_get(struct nouveau_crtc *crtc); |