A typical example of what comments shouldn't be:

 case DRM_PLANE_TYPE_PRIMARY: /* primary */

Well, yes!, it's written just there, PRIMARY!

Signed-off-by: Damien Lespiau <damien.lesp...@intel.com>
---
 tests/kms_rotation_crc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index bc11b9c..e4af24d 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -107,11 +107,11 @@ static bool prepare_crtc(data_t *data)
                return false;
 
        switch (data->type) {
-               case DRM_PLANE_TYPE_OVERLAY: /* Sprite */
+               case DRM_PLANE_TYPE_OVERLAY:
                        igt_info("Sprite plane\n");
                        plane = igt_output_get_plane(output, IGT_PLANE_2);
                        break;
-               case DRM_PLANE_TYPE_PRIMARY: /* Primary */
+               case DRM_PLANE_TYPE_PRIMARY:
                        igt_info("Primary plane\n");
                        plane = igt_output_get_plane(output, IGT_PLANE_PRIMARY);
                        break;
-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to