[igt-dev] [i-g-t V7 45/81] tests/kms_dither: Document each subtest for testplan
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Tue Aug 15 16:47:39 UTC 2023
Add documentation for all kms tests which is used by IGT testplan
documentation.
V2: - Driver requirement: s/any/i915, xe/
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Swati Sharma <swati2.sharma at intel.com>
---
tests/kms_dither.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/tests/kms_dither.c b/tests/kms_dither.c
index d6c16dd0b..d74bee1f0 100644
--- a/tests/kms_dither.c
+++ b/tests/kms_dither.c
@@ -25,6 +25,11 @@
*
*/
+/**
+ * TEST: kms dither
+ * Category: Display
+ * Description: Test Dithering block status
+ */
#include "igt.h"
#include <fcntl.h>
#include <termios.h>
@@ -181,6 +186,23 @@ static bool is_supported(igt_output_t *output)
igt_output_get_prop(output, IGT_CONNECTOR_MAX_BPC);
}
+/**
+ * SUBTEST: FB-8BPC-Vs-Panel-6BPC
+ * Description: Framebuffer BPC:8, Panel BPC:6, Expected Dither:Enable
+ * Driver requirement: i915, xe
+ * Functionality: colorspace, kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: FB-8BPC-Vs-Panel-8BPC
+ * Description: Framebuffer BPC:8, Panel BPC:8, Expected Dither:Disable
+ * Driver requirement: i915, xe
+ * Functionality: colorspace, kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ */
static void
run_dither_test(data_t *data, int fb_bpc, int fb_format, int output_bpc)
{
--
2.40.0
More information about the igt-dev
mailing list