summaryrefslogtreecommitdiff
path: root/tests/kms_writeback.c
diff options
context:
space:
mode:
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>2023-11-25 21:50:09 +0530
committerBhanuprakash Modem <bhanuprakash.modem@intel.com>2023-11-27 11:00:35 +0530
commitb88ef1a06ad599265c3661219ea6b07028277a92 (patch)
treeb751ac9ce23d4dcabe14f640f830206b3795222a /tests/kms_writeback.c
parent2ddd8cac90d4333943cd017319514949b047821b (diff)
tests/kms/testplan: Move testplan documentation to beginning of the file
To maintain the uniformness, move testplan documentation to beginning of the file. Move TEST block to before the #includes, and SUBTEST block to after the #includes. Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
Diffstat (limited to 'tests/kms_writeback.c')
-rw-r--r--tests/kms_writeback.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c
index 25b49eccd..6b436b7ab 100644
--- a/tests/kms_writeback.c
+++ b/tests/kms_writeback.c
@@ -22,6 +22,15 @@
*
*/
+/**
+ * TEST: kms writeback
+ * Category: Display
+ * Description: This test validates the expected behavior of the writeback
+ * connectors feature by checking if the target device support
+ * writeback; it validates bad and good combination, check color
+ * format, and check the output result by using CRC.
+ */
+
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>
@@ -32,14 +41,8 @@
#include "igt_core.h"
#include "igt_fb.h"
#include "sw_sync.h"
+
/**
- * TEST: kms writeback
- * Category: Display
- * Description: This test validates the expected behavior of the writeback
- * connectors feature by checking if the target device support
- * writeback; it validates bad and good combination, check color
- * format, and check the output result by using CRC.
- *
* SUBTEST: writeback-check-output-XRGB2101010
* Description: Check XRGB2101010 writeback output with CRC validation
* Functionality: kms_core