aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Harvey <charvey@matrox.com>2013-04-05 11:28:32 -0400
committerDave Airlie <airlied@redhat.com>2013-04-12 00:07:20 -0400
commit715f59cc2391cb4e28a4d464a0564a60a00ecca4 (patch)
tree958f4cd1dbb9600a80bf5c5e1b00c7911f80e5ad
parent8091ee5c092a1e7dab2cb49d02d5f3925ece3995 (diff)
drm: Misc comment cleanup
Signed-off-by: Christopher Harvey <charvey@matrox.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/mgag200/mgag200_drv.h6
-rw-r--r--include/drm/drm_crtc.h2
-rw-r--r--include/uapi/drm/drm_mode.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h
index 4d932c46725d..dcfc973e29f7 100644
--- a/drivers/gpu/drm/mgag200/mgag200_drv.h
+++ b/drivers/gpu/drm/mgag200/mgag200_drv.h
@@ -215,7 +215,7 @@ mgag200_bo(struct ttm_buffer_object *bo)
215{ 215{
216 return container_of(bo, struct mgag200_bo, bo); 216 return container_of(bo, struct mgag200_bo, bo);
217} 217}
218 /* mga_crtc.c */ 218 /* mgag200_crtc.c */
219void mga_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, 219void mga_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,
220 u16 blue, int regno); 220 u16 blue, int regno);
221void mga_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, 221void mga_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green,
@@ -225,7 +225,7 @@ void mga_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green,
225int mgag200_modeset_init(struct mga_device *mdev); 225int mgag200_modeset_init(struct mga_device *mdev);
226void mgag200_modeset_fini(struct mga_device *mdev); 226void mgag200_modeset_fini(struct mga_device *mdev);
227 227
228 /* mga_fbdev.c */ 228 /* mgag200_fb.c */
229int mgag200_fbdev_init(struct mga_device *mdev); 229int mgag200_fbdev_init(struct mga_device *mdev);
230void mgag200_fbdev_fini(struct mga_device *mdev); 230void mgag200_fbdev_fini(struct mga_device *mdev);
231 231
@@ -254,7 +254,7 @@ mgag200_dumb_mmap_offset(struct drm_file *file,
254 struct drm_device *dev, 254 struct drm_device *dev,
255 uint32_t handle, 255 uint32_t handle,
256 uint64_t *offset); 256 uint64_t *offset);
257 /* mga_i2c.c */ 257 /* mgag200_i2c.c */
258struct mga_i2c_chan *mgag200_i2c_create(struct drm_device *dev); 258struct mga_i2c_chan *mgag200_i2c_create(struct drm_device *dev);
259void mgag200_i2c_destroy(struct mga_i2c_chan *i2c); 259void mgag200_i2c_destroy(struct mga_i2c_chan *i2c);
260 260
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index e3e0d651c6ca..8c7846bd74f4 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -310,7 +310,7 @@ struct drm_plane;
310 * drm_crtc_funcs - control CRTCs for a given device 310 * drm_crtc_funcs - control CRTCs for a given device
311 * @save: save CRTC state 311 * @save: save CRTC state
312 * @restore: restore CRTC state 312 * @restore: restore CRTC state
313 * @reset: reset CRTC after state has been invalidate (e.g. resume) 313 * @reset: reset CRTC after state has been invalidated (e.g. resume)
314 * @cursor_set: setup the cursor 314 * @cursor_set: setup the cursor
315 * @cursor_move: move the cursor 315 * @cursor_move: move the cursor
316 * @gamma_set: specify color ramp for CRTC 316 * @gamma_set: specify color ramp for CRTC
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 3d6301b6ec16..090e5331ab7e 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -367,13 +367,13 @@ struct drm_mode_mode_cmd {
367 * depending on the value in flags different members are used. 367 * depending on the value in flags different members are used.
368 * 368 *
369 * CURSOR_BO uses 369 * CURSOR_BO uses
370 * crtc 370 * crtc_id
371 * width 371 * width
372 * height 372 * height
373 * handle - if 0 turns the cursor of 373 * handle - if 0 turns the cursor off
374 * 374 *
375 * CURSOR_MOVE uses 375 * CURSOR_MOVE uses
376 * crtc 376 * crtc_id
377 * x 377 * x
378 * y 378 * y
379 */ 379 */