Skip to contentSkip to conversation

tests: remove missleading comments

PATCH In review Stefan Agner 3 participants 3 messages Dec 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: remove missleading comments

The comment has been copied from modetest and is not applicable for vbltest.

---
 tests/vbltest/vbltest.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
tests/vbltest/vbltest.c +1 -14
index 531196c..5c61b43 100644
@@ -1,5 +1,5 @@
 /*
- * DRM based mode setting test program
+ * DRM based vblank test program
  * Copyright 2008 Tungsten Graphics
  *   Jakob Bornecrantz <[email protected]>
  * Copyright 2008 Intel Corporation
@@ -24,19 +24,6 @@
  * IN THE SOFTWARE.
  */
 
-/*
- * This fairly simple test program dumps output in a similar format to the
- * "xrandr" tool everyone knows & loves.  It's necessarily slightly different
- * since the kernel separates outputs into encoder and connector structures,
- * each with their own unique ID.  The program also allows test testing of the
- * memory management and mode setting APIs by allowing the user to specify a
- * connector and mode to use for mode setting.  If all works as expected, a
- * blue background should be painted on the monitor attached to the specified
- * connector after the selected mode is set.
- *
- * TODO: use cairo to write the mode info on the selected output once
- *       the mode has been programmed, along with possible test patterns.
- */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
Signature · 6 lines
2.6.4

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 29 lines · Stefan Agner

The comment has been copied from modetest and is not applicable for vbltest.

---
 tests/vbltest/vbltest.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
tests/vbltest/vbltest.c +1 -7
index 531196c..5c61b43 100644
@@ -1,5 +1,5 @@
 /*
- * DRM based mode setting test program
+ * DRM based vblank test program
  * Copyright 2008 Tungsten Graphics
  *   Jakob Bornecrantz <[email protected]>
  * Copyright 2008 Intel Corporation
@@ -24,19 +24,6 @@
  * IN THE SOFTWARE.
  */
 
-/*
- * This fairly simple test program dumps output in a similar format to the
- * "xrandr" tool everyone knows & loves.  It's necessarily slightly different
- * since the kernel separates outputs into encoder and connector structures,
- * each with their own unique ID.  The program also allows test testing of the
- * memory management and mode setting APIs by allowing the user to specify a

tests/vbltest/vbltest.c line 29

Quoted 10 lines
tests/vbltest/vbltest.c +0 -7
- * connector and mode to use for mode setting.  If all works as expected, a
- * blue background should be painted on the monitor attached to the specified
- * connector after the selected mode is set.
- *
- * TODO: use cairo to write the mode info on the selected output once
- *       the mode has been programmed, along with possible test patterns.
- */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif

Yep, thanks.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
Quoted 43 lines · Jesse Barnes
Quoted 29 lines · Stefan Agner

The comment has been copied from modetest and is not applicable for vbltest.

---
 tests/vbltest/vbltest.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
tests/vbltest/vbltest.c +1 -7
index 531196c..5c61b43 100644
@@ -1,5 +1,5 @@
 /*
- * DRM based mode setting test program
+ * DRM based vblank test program
  * Copyright 2008 Tungsten Graphics
  *   Jakob Bornecrantz <[email protected]>
  * Copyright 2008 Intel Corporation
@@ -24,19 +24,6 @@
  * IN THE SOFTWARE.
  */
 
-/*
- * This fairly simple test program dumps output in a similar format to the
- * "xrandr" tool everyone knows & loves.  It's necessarily slightly different
- * since the kernel separates outputs into encoder and connector structures,
- * each with their own unique ID.  The program also allows test testing of the
- * memory management and mode setting APIs by allowing the user to specify a

tests/vbltest/vbltest.c line 29

Quoted 10 lines
tests/vbltest/vbltest.c +0 -7
- * connector and mode to use for mode setting.  If all works as expected, a
- * blue background should be painted on the monitor attached to the specified
- * connector after the selected mode is set.
- *
- * TODO: use cairo to write the mode info on the selected output once
- *       the mode has been programmed, along with possible test patterns.
- */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif

Yep, thanks.

Quoted 2 lines

Committed to master. Thanks guys.

-Emil
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel