]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
drm: Misc comment cleanup
authorChristopher Harvey <charvey@matrox.com>
Fri, 5 Apr 2013 15:28:32 +0000 (15:28 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 12 Apr 2013 04:07:20 +0000 (14:07 +1000)
Signed-off-by: Christopher Harvey <charvey@matrox.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mgag200/mgag200_drv.h
include/drm/drm_crtc.h
include/uapi/drm/drm_mode.h

index 4d932c46725dda950a4b2cd197e1923fca18ab50..dcfc973e29f726dbffc281a63bc6e2dc08254257 100644 (file)
@@ -215,7 +215,7 @@ mgag200_bo(struct ttm_buffer_object *bo)
 {
        return container_of(bo, struct mgag200_bo, bo);
 }
-                               /* mga_crtc.c */
+                               /* mgag200_crtc.c */
 void mga_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,
                             u16 blue, int regno);
 void 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,
 int mgag200_modeset_init(struct mga_device *mdev);
 void mgag200_modeset_fini(struct mga_device *mdev);
 
-                               /* mga_fbdev.c */
+                               /* mgag200_fb.c */
 int mgag200_fbdev_init(struct mga_device *mdev);
 void mgag200_fbdev_fini(struct mga_device *mdev);
 
@@ -254,7 +254,7 @@ mgag200_dumb_mmap_offset(struct drm_file *file,
                         struct drm_device *dev,
                         uint32_t handle,
                         uint64_t *offset);
-                               /* mga_i2c.c */
+                               /* mgag200_i2c.c */
 struct mga_i2c_chan *mgag200_i2c_create(struct drm_device *dev);
 void mgag200_i2c_destroy(struct mga_i2c_chan *i2c);
 
index e3e0d651c6cab54b51745a242a844b142a64bc71..8c7846bd74f4c293551ac09b387363cf51e7d705 100644 (file)
@@ -310,7 +310,7 @@ struct drm_plane;
  * drm_crtc_funcs - control CRTCs for a given device
  * @save: save CRTC state
  * @restore: restore CRTC state
- * @reset: reset CRTC after state has been invalidate (e.g. resume)
+ * @reset: reset CRTC after state has been invalidated (e.g. resume)
  * @cursor_set: setup the cursor
  * @cursor_move: move the cursor
  * @gamma_set: specify color ramp for CRTC
index 3d6301b6ec16d36b60cb4f69570170b8c804fb6d..090e5331ab7eabe0c6c779d4eb44d02ff558f78d 100644 (file)
@@ -367,13 +367,13 @@ struct drm_mode_mode_cmd {
  * depending on the value in flags different members are used.
  *
  * CURSOR_BO uses
- *    crtc
+ *    crtc_id
  *    width
  *    height
- *    handle - if 0 turns the cursor of
+ *    handle - if 0 turns the cursor off
  *
  * CURSOR_MOVE uses
- *    crtc
+ *    crtc_id
  *    x
  *    y
  */