* [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness
@ 2024-12-04 8:26 Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v2 1/9] lib/igt_kms: Add "sharpness strength" as crtc property Swati Sharma
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma
New test is added to validate adaptive sharpness filter on
LNL platform. Pipe scaler is repurposed to perform a portion
of this work. This means pipe scaling will be unavailable while
the sharpening function is being used. The other scaler can be
used for plane scaler.
In this series, attempt is made to validate adaptive sharpness
solution which helps in improving the image quality. For this new
CRTC property is added. The user can set this property with desired
sharpness strength value with 0-255. A value of 1 representing
minimum sharpening strength and 255 representing maximum
sharpness strength. A strength value of 0 means no sharpening or
sharpening feature disabled.
KMD: https://patchwork.freedesktop.org/series/138754/
Swati Sharma (9):
lib/igt_kms: Add "sharpness strength" as crtc property
lib/igt_kms: Add func() to return scaling mode name string
tests/kms_sharpness_filter: Add adaptive sharpness basic filter tests
tests/kms_sharpness_filter: Add toggle subtest
tests/kms_sharpness_filter: Add filter-tap subtest
tests/kms_sharpness_filter: Add dpms/suspend subtests
tests/kms_sharpness_filter: Add scaler subtests
tests/kms_sharpness_filter: Add invalid subtests
tests/chamelium/kms_chamelium_sharpness_filter: Add basic test
lib/igt_kms.c | 23 +
lib/igt_kms.h | 2 +
.../kms_chamelium_sharpness_filter.c | 240 ++++++
tests/kms_sharpness_filter.c | 755 ++++++++++++++++++
tests/meson.build | 3 +
5 files changed, 1023 insertions(+)
create mode 100644 tests/chamelium/kms_chamelium_sharpness_filter.c
create mode 100644 tests/kms_sharpness_filter.c
--
2.25.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH i-g-t, v2 1/9] lib/igt_kms: Add "sharpness strength" as crtc property
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v2 2/9] lib/igt_kms: Add func() to return scaling mode name string Swati Sharma
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma, Mohammed Thasleem
Add "sharpness strength" as crtc property.
v2: Replace SHARPENESS_STRENGTH with SHARPNESS_STRENGTH. (Nemesa)
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
lib/igt_kms.c | 4 ++++
lib/igt_kms.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 76f32e1e0..557ce04f8 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -714,6 +714,7 @@ const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
[IGT_CRTC_OUT_FENCE_PTR] = "OUT_FENCE_PTR",
[IGT_CRTC_VRR_ENABLED] = "VRR_ENABLED",
[IGT_CRTC_SCALING_FILTER] = "SCALING_FILTER",
+ [IGT_CRTC_SHARPNESS_STRENGTH] = "SHARPNESS_STRENGTH",
};
const char * const igt_connector_prop_names[IGT_NUM_CONNECTOR_PROPS] = {
@@ -2612,6 +2613,9 @@ static void igt_pipe_reset(igt_pipe_t *pipe)
if (igt_pipe_obj_has_prop(pipe, IGT_CRTC_SCALING_FILTER))
igt_pipe_obj_set_prop_enum(pipe, IGT_CRTC_SCALING_FILTER, "Default");
+ if (igt_pipe_obj_has_prop(pipe, IGT_CRTC_SHARPNESS_STRENGTH))
+ igt_pipe_obj_set_prop_value(pipe, IGT_CRTC_SHARPNESS_STRENGTH, 0);
+
pipe->out_fence_fd = -1;
}
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 301f370df..287abde19 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -164,6 +164,7 @@ enum igt_atomic_crtc_properties {
IGT_CRTC_OUT_FENCE_PTR,
IGT_CRTC_VRR_ENABLED,
IGT_CRTC_SCALING_FILTER,
+ IGT_CRTC_SHARPNESS_STRENGTH,
IGT_NUM_CRTC_PROPS
};
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH i-g-t, v2 2/9] lib/igt_kms: Add func() to return scaling mode name string
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v2 1/9] lib/igt_kms: Add "sharpness strength" as crtc property Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v9 3/9] tests/kms_sharpness_filter: Add adaptive sharpness basic filter tests Swati Sharma
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma
Add func() to print scaling mode name string.
v2: -replaced uint32_t with int (Ankit)
-fixed subject (Ankit)
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
lib/igt_kms.c | 19 +++++++++++++++++++
lib/igt_kms.h | 1 +
2 files changed, 20 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 557ce04f8..19fa623a4 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1054,6 +1054,25 @@ const char *kmstest_scaling_filter_str(int filter)
return find_type_name(scaling_filter_names, filter);
}
+static const struct type_name scaling_modes_names[] = {
+ { DRM_MODE_SCALE_FULLSCREEN, "fullscreen" },
+ { DRM_MODE_SCALE_CENTER, "center" },
+ { DRM_MODE_SCALE_ASPECT, "aspect" },
+ { DRM_MODE_SCALE_NONE, "none" },
+ {}
+};
+
+/**
+ * kmstest_scaling_mode_str:
+ * @mode: SCALING_MODE_* mode value
+ *
+ * Returns: A string representing the scaling mode @mode.
+ */
+const char *kmstest_scaling_mode_str(int mode)
+{
+ return find_type_name(scaling_modes_names, mode);
+}
+
static const struct type_name dsc_output_format_names[] = {
{ DSC_FORMAT_RGB, "RGB" },
{ DSC_FORMAT_YCBCR420, "YCBCR420" },
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 287abde19..d00be827a 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -143,6 +143,7 @@ const char *kmstest_encoder_type_str(int type);
const char *kmstest_connector_status_str(int status);
const char *kmstest_connector_type_str(int type);
const char *kmstest_scaling_filter_str(int filter);
+const char *kmstest_scaling_mode_str(int mode);
const char *kmstest_dsc_output_format_str(int output_format);
void kmstest_dump_mode(drmModeModeInfo *mode);
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH i-g-t, v9 3/9] tests/kms_sharpness_filter: Add adaptive sharpness basic filter tests
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v2 1/9] lib/igt_kms: Add "sharpness strength" as crtc property Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v2 2/9] lib/igt_kms: Add func() to return scaling mode name string Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 4/9] tests/kms_sharpness_filter: Add toggle subtest Swati Sharma
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma, Mohammed Thasleem
New test is added to validate adaptive sharpness filter on
LNL platform. Various testcases are added to validate this
feature. These are non CRC based tests and manual verification
is required.
Pipe scaler is repurposed to perform a portion of this work.
This means pipe scaling will be unavailable while the sharpening
function is being used. The other scaler can be used for plane
scaler.
5 subtests are added:
-basic: verify basic functionality
-modifiers: verify casf with different modifiers
-rotation: verify casf with different rotation
-formats: verify casf with different formats
-strength: vary strength and check difference in sharpness
TODO: -Enable casf with varying output formats (YCBCR/RGB)
v2: -Updated modifier type to uint64_t.
-Replaced IGT_CRTC_SHARPENESS_STRENGTH with IGT_CRTC_SHARPNESS_STRENGTH.
v3: -Updated setup_fb with height and width.
v4: -Renamed tests/intel/kms_sharpness_filter.c -> tests/kms_sharpness_filter.c (Ankit)
-Added subtest invalid filter with connector. (Ankit)
-Updated documentation. (Bhanu)
-Used driver_close_driver instead close. (Bhanu)
-Added check to avoid debug print for invalid tests and filter strength = 0. (Ankit)
v5: -Instead of using default strength as MAX, use MID value strength.
-Add relevant debug print for test skip.
-Fix indentation.
-Renamed invalid-filter-with-connector -> invalid-filter-with-scaling-mode
-Reworked on invalid-filter-with-scaling-mode(), added provision to
validate other scaling modes.
v6: -Skip test if ret=-EINVAL for downscaling test.
-Change if() for tap subtest.
v8: -Optimize tap-filter subtest (Ankit)
v9: -Logically split tests (Ankit)
-Fix alignment (Ankit)
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
tests/kms_sharpness_filter.c | 347 +++++++++++++++++++++++++++++++++++
tests/meson.build | 1 +
2 files changed, 348 insertions(+)
create mode 100644 tests/kms_sharpness_filter.c
diff --git a/tests/kms_sharpness_filter.c b/tests/kms_sharpness_filter.c
new file mode 100644
index 000000000..ac12d13bf
--- /dev/null
+++ b/tests/kms_sharpness_filter.c
@@ -0,0 +1,347 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+/**
+ * TEST: kms sharpness filter
+ * Category: Display
+ * Description: Test to validate content adaptive sharpness filter
+ * Driver requirement: xe
+ * Functionality: casf
+ * Mega feature: General Display Features
+ * Test category: functionality test
+ */
+
+#include "igt.h"
+#include "igt_kms.h"
+
+/**
+ * SUBTEST: filter-basic
+ * Description: Verify basic content adaptive sharpness filter.
+ *
+ * SUBTEST: filter-strength
+ * Description: Verify that varying strength (0-255), affects the degree of sharpeness applied.
+ *
+ * SUBTEST: filter-modifiers
+ * Description: Verify content adaptive sharpness filter with varying modifiers.
+ * Functionality: casf, tiling
+ *
+ * SUBTEST: filter-rotations
+ * Description: Verify content adaptive sharpness filter with varying rotations.
+ * Functionality: casf, rotation
+ *
+ * SUBTEST: filter-formats
+ * Description: Verify content adaptive sharpness filter with varying formats.
+ * Functionality: casf, pixel-format
+*/
+
+IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
+
+/*
+ * Until the CRC support is added test needs to be invoked with
+ * --interactive|--i to manually verify if "sharpened" image
+ * is seen without corruption for each subtest.
+ */
+
+#define MIN_FILTER_STRENGTH 1
+#define MID_FILTER_STRENGTH 128
+#define MAX_FILTER_STRENGTH 255
+
+enum test_type {
+ TEST_FILTER_BASIC,
+ TEST_FILTER_MODIFIERS,
+ TEST_FILTER_ROTATION,
+ TEST_FILTER_FORMATS,
+ TEST_FILTER_STRENGTH,
+};
+
+const int filter_strength_list[] = {
+ MIN_FILTER_STRENGTH,
+ (MIN_FILTER_STRENGTH + MID_FILTER_STRENGTH) / 2,
+ MID_FILTER_STRENGTH,
+ (MID_FILTER_STRENGTH + MAX_FILTER_STRENGTH) / 2,
+ MAX_FILTER_STRENGTH,
+};
+static const struct {
+ uint64_t modifier;
+ const char *name;
+} modifiers[] = {
+ { DRM_FORMAT_MOD_LINEAR, "linear", },
+ { I915_FORMAT_MOD_X_TILED, "x-tiled", },
+ { I915_FORMAT_MOD_4_TILED, "4-tiled", },
+};
+static const int formats[] = {
+ DRM_FORMAT_NV12,
+ DRM_FORMAT_RGB565,
+ DRM_FORMAT_XRGB8888,
+ DRM_FORMAT_XBGR16161616F,
+};
+static const igt_rotation_t rotations[] = {
+ IGT_ROTATION_0,
+ IGT_ROTATION_180,
+};
+
+typedef struct {
+ int drm_fd;
+ bool limited;
+ enum pipe pipe_id;
+ struct igt_fb fb[4];
+ igt_pipe_t *pipe;
+ igt_display_t display;
+ igt_output_t *output;
+ igt_plane_t *plane[4];
+ drmModeModeInfo *mode;
+ int filter_strength;
+ uint64_t modifier;
+ const char *modifier_name;
+ uint32_t format;
+ igt_rotation_t rotation;
+} data_t;
+
+static void set_filter_strength_on_pipe(data_t *data)
+{
+ igt_pipe_set_prop_value(&data->display, data->pipe_id,
+ IGT_CRTC_SHARPNESS_STRENGTH,
+ data->filter_strength);
+}
+
+static void paint_image(igt_fb_t *fb)
+{
+ cairo_t *cr = igt_get_cairo_ctx(fb->fd, fb);
+ int img_x, img_y, img_w, img_h;
+ const char *file = "1080p-left.png";
+
+ img_x = img_y = 0;
+ img_w = fb->width;
+ img_h = fb->height;
+
+ igt_paint_image(cr, file, img_x, img_y, img_w, img_h);
+
+ igt_put_cairo_ctx(cr);
+}
+
+static void setup_fb(int fd, int width, int height, uint32_t format,
+ uint64_t modifier, struct igt_fb *fb)
+{
+ int fb_id;
+
+ fb_id = igt_create_fb(fd, width, height, format, modifier, fb);
+ igt_assert(fb_id);
+
+ paint_image(fb);
+}
+
+static void cleanup_fbs(data_t *data)
+{
+ for (int i = 0; i < ARRAY_SIZE(data->fb); i++)
+ igt_remove_fb(data->drm_fd, &data->fb[i]);
+}
+
+static void cleanup(data_t *data)
+{
+ igt_display_reset(&data->display);
+
+ cleanup_fbs(data);
+}
+
+static void test_sharpness_filter(data_t *data, enum test_type type)
+{
+ drmModeModeInfo *mode = data->mode;
+ int height = mode->hdisplay;
+ int width = mode->vdisplay;
+ int ret;
+
+ data->plane[0] = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_PRIMARY);
+ igt_skip_on_f(!igt_plane_has_format_mod(data->plane[0], data->format, data->modifier),
+ "No requested format/modifier on pipe %s\n", kmstest_pipe_name(data->pipe_id));
+
+ setup_fb(data->drm_fd, height, width, data->format, data->modifier, &data->fb[0]);
+ igt_plane_set_fb(data->plane[0], &data->fb[0]);
+
+ if (igt_plane_has_rotation(data->plane[0], data->rotation))
+ igt_plane_set_rotation(data->plane[0], data->rotation);
+ else
+ igt_skip("No requested rotation on pipe %s\n", kmstest_pipe_name(data->pipe_id));
+
+ set_filter_strength_on_pipe(data);
+
+ if (data->filter_strength != 0)
+ igt_debug("Sharpened image should be observed for filter strength > 0\n");
+
+ ret = igt_display_try_commit2(&data->display, COMMIT_ATOMIC);
+
+ igt_assert_eq(ret, 0);
+
+ cleanup(data);
+}
+
+static bool has_sharpness_filter(igt_pipe_t *pipe)
+{
+ return igt_pipe_obj_has_prop(pipe, IGT_CRTC_SHARPNESS_STRENGTH);
+}
+
+static void
+run_sharpness_filter_test(data_t *data, enum test_type type)
+{
+ igt_display_t *display = &data->display;
+ igt_output_t *output;
+ enum pipe pipe;
+ char name[40];
+
+ for_each_connected_output(display, output) {
+ for_each_pipe(display, pipe) {
+ igt_display_reset(display);
+
+ data->output = output;
+ data->pipe_id = pipe;
+ data->pipe = &display->pipes[data->pipe_id];
+ data->mode = igt_output_get_mode(data->output);
+
+ if (!has_sharpness_filter(data->pipe)) {
+ igt_info("%s: Doesn't support IGT_CRTC_SHARPNESS_STRENGTH.\n",
+ kmstest_pipe_name(data->pipe_id));
+ continue;
+ }
+
+ igt_output_set_pipe(data->output, data->pipe_id);
+
+ if (!intel_pipe_output_combo_valid(display)) {
+ igt_output_set_pipe(data->output, PIPE_NONE);
+ continue;
+ }
+
+ switch (type) {
+ case TEST_FILTER_BASIC:
+ snprintf(name, sizeof(name), "-basic");
+ break;
+ case TEST_FILTER_MODIFIERS:
+ snprintf(name, sizeof(name), "-%s", data->modifier_name);
+ break;
+ case TEST_FILTER_ROTATION:
+ snprintf(name, sizeof(name), "-%srot", igt_plane_rotation_name(data->rotation));
+ break;
+ case TEST_FILTER_FORMATS:
+ snprintf(name, sizeof(name), "-%s", igt_format_str(data->format));
+ break;
+ case TEST_FILTER_STRENGTH:
+ snprintf(name, sizeof(name), "-strength-%d", data->filter_strength);
+ break;
+ default:
+ igt_assert(0);
+ }
+
+ igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(data->pipe_id), data->output->name, name)
+ test_sharpness_filter(data, type);
+
+ if (data->limited)
+ break;
+ }
+ }
+}
+
+static int opt_handler(int opt, int opt_index, void *_data)
+{
+ data_t *data = _data;
+
+ switch (opt) {
+ case 'l':
+ data->limited = true;
+ break;
+ default:
+ return IGT_OPT_HANDLER_ERROR;
+ }
+
+ return IGT_OPT_HANDLER_SUCCESS;
+}
+
+static const char help_str[] =
+ " --limited|-l\t\tLimit execution to 1 valid pipe-output combo\n";
+
+data_t data = {};
+
+igt_main_args("l", NULL, help_str, opt_handler, &data)
+{
+ igt_fixture {
+ data.drm_fd = drm_open_driver_master(DRIVER_ANY);
+
+ kmstest_set_vt_graphics_mode();
+
+ igt_display_require(&data.display, data.drm_fd);
+ igt_require(data.display.is_atomic);
+ igt_display_require_output(&data.display);
+ }
+
+ igt_describe("Verify basic content adaptive sharpness filter.");
+ igt_subtest_with_dynamic("filter-basic") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_FILTER_BASIC);
+ }
+
+ igt_describe("Verify that varying strength(0-255), affects "
+ "the degree of sharpeness applied.");
+ igt_subtest_with_dynamic("filter-strength") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+
+ for (int k = 0; k < ARRAY_SIZE(filter_strength_list); k++) {
+ data.filter_strength = filter_strength_list[k];
+
+ run_sharpness_filter_test(&data, TEST_FILTER_STRENGTH);
+ }
+ }
+
+ igt_describe("Verify content adaptive sharpness filter with "
+ "varying modifiers.");
+ igt_subtest_with_dynamic("filter-modifiers") {
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ for (int k = 0; k < ARRAY_SIZE(modifiers); k++) {
+ data.modifier = modifiers[k].modifier;
+ data.modifier_name = modifiers[k].name;
+
+ run_sharpness_filter_test(&data, TEST_FILTER_MODIFIERS);
+ }
+ }
+
+ igt_describe("Verify content adaptive sharpness filter with "
+ "varying rotations.");
+ igt_subtest_with_dynamic("filter-rotations") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ for (int k = 0; k < ARRAY_SIZE(rotations); k++) {
+ data.rotation = rotations[k];
+
+ run_sharpness_filter_test(&data, TEST_FILTER_ROTATION);
+ }
+ }
+
+ igt_describe("Verify content adaptive sharpness filter with "
+ "varying formats.");
+ igt_subtest_with_dynamic("filter-formats") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ for (int k = 0; k < ARRAY_SIZE(formats); k++) {
+ data.format = formats[k];
+
+ run_sharpness_filter_test(&data, TEST_FILTER_FORMATS);
+ }
+ }
+
+ igt_fixture {
+ igt_display_fini(&data.display);
+ drm_close_driver(data.drm_fd);
+ }
+}
diff --git a/tests/meson.build b/tests/meson.build
index 2724c7a9a..84d8bed4b 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -58,6 +58,7 @@ test_progs = [
'kms_sequence',
'kms_setmode',
'kms_sysfs_edid_timing',
+ 'kms_sharpness_filter',
'kms_tiled_display',
'kms_tv_load_detect',
'kms_universal_plane',
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH i-g-t 4/9] tests/kms_sharpness_filter: Add toggle subtest
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
` (2 preceding siblings ...)
2024-12-04 8:26 ` [PATCH i-g-t, v9 3/9] tests/kms_sharpness_filter: Add adaptive sharpness basic filter tests Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 5/9] tests/kms_sharpness_filter: Add filter-tap subtest Swati Sharma
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma
Subtest is added to verify toggling/switching between enabling
and disabling of content adaptive sharpness filter.
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/kms_sharpness_filter.c | 40 ++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/tests/kms_sharpness_filter.c b/tests/kms_sharpness_filter.c
index ac12d13bf..8ade3b0bc 100644
--- a/tests/kms_sharpness_filter.c
+++ b/tests/kms_sharpness_filter.c
@@ -34,6 +34,9 @@
* SUBTEST: filter-formats
* Description: Verify content adaptive sharpness filter with varying formats.
* Functionality: casf, pixel-format
+ *
+ * SUBTEST: filter-toggle
+ * Description: Verify toggling between enabling and disabling content adaptive sharpness filter.
*/
IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
@@ -44,9 +47,11 @@ IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
* is seen without corruption for each subtest.
*/
+#define DISABLE_FILTER 0
#define MIN_FILTER_STRENGTH 1
#define MID_FILTER_STRENGTH 128
#define MAX_FILTER_STRENGTH 255
+#define NROUNDS 10
enum test_type {
TEST_FILTER_BASIC,
@@ -54,6 +59,7 @@ enum test_type {
TEST_FILTER_ROTATION,
TEST_FILTER_FORMATS,
TEST_FILTER_STRENGTH,
+ TEST_FILTER_TOGGLE,
};
const int filter_strength_list[] = {
@@ -145,6 +151,23 @@ static void cleanup(data_t *data)
cleanup_fbs(data);
}
+static int test_filter_toggle(data_t *data)
+{
+ int ret = 0;
+
+ for (int k = 0; k < NROUNDS; k++) {
+ if (k % 2 == 0)
+ data->filter_strength = DISABLE_FILTER;
+ else
+ data->filter_strength = MAX_FILTER_STRENGTH;
+
+ set_filter_strength_on_pipe(data);
+ ret |= igt_display_try_commit2(&data->display, COMMIT_ATOMIC);
+ }
+
+ return ret;
+}
+
static void test_sharpness_filter(data_t *data, enum test_type type)
{
drmModeModeInfo *mode = data->mode;
@@ -171,6 +194,9 @@ static void test_sharpness_filter(data_t *data, enum test_type type)
ret = igt_display_try_commit2(&data->display, COMMIT_ATOMIC);
+ if (type == TEST_FILTER_TOGGLE)
+ ret |= test_filter_toggle(data);
+
igt_assert_eq(ret, 0);
cleanup(data);
@@ -227,6 +253,9 @@ run_sharpness_filter_test(data_t *data, enum test_type type)
case TEST_FILTER_STRENGTH:
snprintf(name, sizeof(name), "-strength-%d", data->filter_strength);
break;
+ case TEST_FILTER_TOGGLE:
+ snprintf(name, sizeof(name), "-toggle");
+ break;
default:
igt_assert(0);
}
@@ -340,6 +369,17 @@ igt_main_args("l", NULL, help_str, opt_handler, &data)
}
}
+ igt_describe("Verify toggling between enabling and disabling "
+ "content adaptive sharpness filter.");
+ igt_subtest_with_dynamic("filter-toggle") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+
+ data.filter_strength = MAX_FILTER_STRENGTH;
+ run_sharpness_filter_test(&data, TEST_FILTER_TOGGLE);
+ }
+
igt_fixture {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH i-g-t 5/9] tests/kms_sharpness_filter: Add filter-tap subtest
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
` (3 preceding siblings ...)
2024-12-04 8:26 ` [PATCH i-g-t 4/9] tests/kms_sharpness_filter: Add toggle subtest Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 6/9] tests/kms_sharpness_filter: Add dpms/suspend subtests Swati Sharma
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma
Test is added to verify that following a resolution change,
distinct taps are selected i.e.
TAP 3: mode->hdisplay <= 1920 && mode->vdisplay <= 1080
TAP 5: mode->hdisplay > 1920 && mode->vdisplay > 1080
TAP 7: mode->hdisplay >= 3840 && mode->vdisplay >= 2160
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/kms_sharpness_filter.c | 79 ++++++++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
diff --git a/tests/kms_sharpness_filter.c b/tests/kms_sharpness_filter.c
index 8ade3b0bc..88fb50958 100644
--- a/tests/kms_sharpness_filter.c
+++ b/tests/kms_sharpness_filter.c
@@ -37,6 +37,9 @@
*
* SUBTEST: filter-toggle
* Description: Verify toggling between enabling and disabling content adaptive sharpness filter.
+ *
+ * SUBTEST: filter-tap
+ * Description: Verify that following a resolution change, distinct taps are selected.
*/
IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
@@ -47,10 +50,15 @@ IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
* is seen without corruption for each subtest.
*/
+#define TAP_3 3
+#define TAP_5 5
+#define TAP_7 7
#define DISABLE_FILTER 0
#define MIN_FILTER_STRENGTH 1
#define MID_FILTER_STRENGTH 128
#define MAX_FILTER_STRENGTH 255
+#define MAX_PIXELS_FOR_3_TAP_FILTER (1920 * 1080)
+#define MAX_PIXELS_FOR_5_TAP_FILTER (3840 * 2160)
#define NROUNDS 10
enum test_type {
@@ -60,6 +68,7 @@ enum test_type {
TEST_FILTER_FORMATS,
TEST_FILTER_STRENGTH,
TEST_FILTER_TOGGLE,
+ TEST_FILTER_TAP,
};
const int filter_strength_list[] = {
@@ -69,6 +78,11 @@ const int filter_strength_list[] = {
(MID_FILTER_STRENGTH + MAX_FILTER_STRENGTH) / 2,
MAX_FILTER_STRENGTH,
};
+const int filter_tap_list[] = {
+ TAP_3,
+ TAP_5,
+ TAP_7,
+};
static const struct {
uint64_t modifier;
const char *name;
@@ -99,6 +113,7 @@ typedef struct {
igt_plane_t *plane[4];
drmModeModeInfo *mode;
int filter_strength;
+ int filter_tap;
uint64_t modifier;
const char *modifier_name;
uint32_t format;
@@ -151,6 +166,31 @@ static void cleanup(data_t *data)
cleanup_fbs(data);
}
+static void get_modes_for_filter_taps(igt_output_t *output, drmModeModeInfo *mode[3])
+{
+ drmModeConnector *connector = output->config.connector;
+ int total_pixels = 0;
+
+ /*
+ * TAP 3: mode->hdisplay <= 1920 && mode->vdisplay <= 1080
+ * TAP 5: mode->hdisplay > 1920 && mode->vdisplay > 1080
+ * TAP 7: mode->hdisplay >= 3840 && mode->vdisplay >= 2160
+ */
+ for (int i = 0; i < connector->count_modes; i++) {
+ total_pixels = connector->modes[i].hdisplay * connector->modes[i].vdisplay;
+
+ if (total_pixels <= MAX_PIXELS_FOR_3_TAP_FILTER)
+ mode[0] = &connector->modes[i];
+
+ if (total_pixels > MAX_PIXELS_FOR_3_TAP_FILTER &&
+ total_pixels <= MAX_PIXELS_FOR_5_TAP_FILTER)
+ mode[1] = &connector->modes[i];
+
+ if (total_pixels > MAX_PIXELS_FOR_5_TAP_FILTER)
+ mode[2] = &connector->modes[i];
+ }
+}
+
static int test_filter_toggle(data_t *data)
{
int ret = 0;
@@ -237,6 +277,34 @@ run_sharpness_filter_test(data_t *data, enum test_type type)
continue;
}
+ if (type == TEST_FILTER_TAP) {
+ drmModeModeInfo *modes[3] = { NULL, NULL, NULL };
+ int num_taps = ARRAY_SIZE(filter_tap_list);
+
+ igt_assert(num_taps == 3);
+
+ get_modes_for_filter_taps(output, modes);
+ for (int k = 0; k < 3; k++) {
+ data->filter_tap = filter_tap_list[k];
+ if (!modes[k])
+ continue;
+ data->mode = modes[k];
+ igt_info("Mode %dx%d@%d on output %s\n", data->mode->hdisplay, data->mode->vdisplay,
+ data->mode->vrefresh, igt_output_name(data->output));
+ igt_output_override_mode(data->output, data->mode);
+
+ snprintf(name, sizeof(name), "-tap-%d", data->filter_tap);
+ igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(data->pipe_id),
+ data->output->name, name)
+ test_sharpness_filter(data, type);
+ }
+
+ if (data->limited)
+ break;
+
+ continue;
+ }
+
switch (type) {
case TEST_FILTER_BASIC:
snprintf(name, sizeof(name), "-basic");
@@ -380,6 +448,17 @@ igt_main_args("l", NULL, help_str, opt_handler, &data)
run_sharpness_filter_test(&data, TEST_FILTER_TOGGLE);
}
+ igt_describe("Verify that following a resolution change, "
+ "distict taps are selected.");
+ igt_subtest_with_dynamic("filter-tap") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_FILTER_TAP);
+ }
+
igt_fixture {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH i-g-t 6/9] tests/kms_sharpness_filter: Add dpms/suspend subtests
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
` (4 preceding siblings ...)
2024-12-04 8:26 ` [PATCH i-g-t 5/9] tests/kms_sharpness_filter: Add filter-tap subtest Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 7/9] tests/kms_sharpness_filter: Add scaler subtests Swati Sharma
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma
Tests are added to verify casf with dpms and suspend.
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/kms_sharpness_filter.c | 52 ++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/tests/kms_sharpness_filter.c b/tests/kms_sharpness_filter.c
index 88fb50958..cc6b09685 100644
--- a/tests/kms_sharpness_filter.c
+++ b/tests/kms_sharpness_filter.c
@@ -40,6 +40,14 @@
*
* SUBTEST: filter-tap
* Description: Verify that following a resolution change, distinct taps are selected.
+ *
+ * SUBTEST: filter-dpms
+ * Description: Verify content adaptive sharpness filter with DPMS.
+ * Functionality: casf, dpms
+ *
+ * SUBTEST: filter-suspend
+ * Description: Verify content adaptive sharpness filter with suspend.
+ * Functionality: casf, suspend
*/
IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
@@ -69,6 +77,8 @@ enum test_type {
TEST_FILTER_STRENGTH,
TEST_FILTER_TOGGLE,
TEST_FILTER_TAP,
+ TEST_FILTER_DPMS,
+ TEST_FILTER_SUSPEND,
};
const int filter_strength_list[] = {
@@ -210,6 +220,7 @@ static int test_filter_toggle(data_t *data)
static void test_sharpness_filter(data_t *data, enum test_type type)
{
+ igt_output_t *output = data->output;
drmModeModeInfo *mode = data->mode;
int height = mode->hdisplay;
int width = mode->vdisplay;
@@ -234,6 +245,19 @@ static void test_sharpness_filter(data_t *data, enum test_type type)
ret = igt_display_try_commit2(&data->display, COMMIT_ATOMIC);
+ if (type == TEST_FILTER_DPMS) {
+ kmstest_set_connector_dpms(data->drm_fd,
+ output->config.connector,
+ DRM_MODE_DPMS_OFF);
+ kmstest_set_connector_dpms(data->drm_fd,
+ output->config.connector,
+ DRM_MODE_DPMS_ON);
+ }
+
+ if (type == TEST_FILTER_SUSPEND)
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
+ SUSPEND_TEST_NONE);
+
if (type == TEST_FILTER_TOGGLE)
ret |= test_filter_toggle(data);
@@ -324,6 +348,12 @@ run_sharpness_filter_test(data_t *data, enum test_type type)
case TEST_FILTER_TOGGLE:
snprintf(name, sizeof(name), "-toggle");
break;
+ case TEST_FILTER_DPMS:
+ snprintf(name, sizeof(name), "-dpms");
+ break;
+ case TEST_FILTER_SUSPEND:
+ snprintf(name, sizeof(name), "-suspend");
+ break;
default:
igt_assert(0);
}
@@ -459,6 +489,28 @@ igt_main_args("l", NULL, help_str, opt_handler, &data)
run_sharpness_filter_test(&data, TEST_FILTER_TAP);
}
+ igt_describe("Verify content adaptive sharpness filter "
+ "with DPMS.");
+ igt_subtest_with_dynamic("filter-dpms") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_FILTER_DPMS);
+ }
+
+ igt_describe("Verify content adaptive sharpness filter "
+ "with suspend.");
+ igt_subtest_with_dynamic("filter-suspend") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_FILTER_SUSPEND);
+ }
+
igt_fixture {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH i-g-t 7/9] tests/kms_sharpness_filter: Add scaler subtests
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
` (5 preceding siblings ...)
2024-12-04 8:26 ` [PATCH i-g-t 6/9] tests/kms_sharpness_filter: Add dpms/suspend subtests Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 8/9] tests/kms_sharpness_filter: Add invalid subtests Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 9/9] tests/chamelium/kms_chamelium_sharpness_filter: Add basic test Swati Sharma
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma
Upscale/Downscale tests are added to apply plane scaler and casf
together.
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/kms_sharpness_filter.c | 69 ++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/tests/kms_sharpness_filter.c b/tests/kms_sharpness_filter.c
index cc6b09685..bafe300d3 100644
--- a/tests/kms_sharpness_filter.c
+++ b/tests/kms_sharpness_filter.c
@@ -48,6 +48,14 @@
* SUBTEST: filter-suspend
* Description: Verify content adaptive sharpness filter with suspend.
* Functionality: casf, suspend
+ *
+ * SUBTEST: filter-scaler-upscale
+ * Description: Verify content adaptive sharpness filter with 1 plane scaler enabled.
+ * Functionality: casf, scaling
+ *
+ * SUBTEST: filter-scaler-downscale
+ * Description: Verify content adaptive sharpness filter with 1 plane scaler enabled.
+ * Functionality: casf, scaling
*/
IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
@@ -69,6 +77,9 @@ IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
#define MAX_PIXELS_FOR_5_TAP_FILTER (3840 * 2160)
#define NROUNDS 10
+#define SET_PLANES ((type == TEST_FILTER_UPSCALE) \
+ || (type == TEST_FILTER_DOWNSCALE))
+
enum test_type {
TEST_FILTER_BASIC,
TEST_FILTER_MODIFIERS,
@@ -79,6 +90,8 @@ enum test_type {
TEST_FILTER_TAP,
TEST_FILTER_DPMS,
TEST_FILTER_SUSPEND,
+ TEST_FILTER_UPSCALE,
+ TEST_FILTER_DOWNSCALE,
};
const int filter_strength_list[] = {
@@ -169,6 +182,27 @@ static void cleanup_fbs(data_t *data)
igt_remove_fb(data->drm_fd, &data->fb[i]);
}
+static void set_planes(data_t *data, enum test_type type)
+{
+ drmModeModeInfo *mode = data->mode;
+ igt_output_t *output = data->output;
+
+ data->plane[1] = igt_output_get_plane(output, 1);
+ data->plane[2] = igt_output_get_plane(output, 2);
+
+ if (type == TEST_FILTER_UPSCALE) {
+ setup_fb(data->drm_fd, 20, 20, data->format, data->modifier, &data->fb[1]);
+ igt_plane_set_fb(data->plane[1], &data->fb[1]);
+ igt_plane_set_size(data->plane[1], mode->hdisplay, mode->vdisplay);
+ }
+
+ if (type == TEST_FILTER_DOWNSCALE) {
+ setup_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, data->format, data->modifier, &data->fb[1]);
+ igt_plane_set_fb(data->plane[1], &data->fb[1]);
+ igt_plane_set_size(data->plane[1], mode->hdisplay * 0.75, mode->vdisplay * 0.75);
+ }
+}
+
static void cleanup(data_t *data)
{
igt_display_reset(&data->display);
@@ -238,6 +272,9 @@ static void test_sharpness_filter(data_t *data, enum test_type type)
else
igt_skip("No requested rotation on pipe %s\n", kmstest_pipe_name(data->pipe_id));
+ if (SET_PLANES)
+ set_planes(data, type);
+
set_filter_strength_on_pipe(data);
if (data->filter_strength != 0)
@@ -261,6 +298,10 @@ static void test_sharpness_filter(data_t *data, enum test_type type)
if (type == TEST_FILTER_TOGGLE)
ret |= test_filter_toggle(data);
+ if (type == TEST_FILTER_DOWNSCALE)
+ igt_skip_on_f(ret == -ERANGE || ret == -EINVAL,
+ "Scaling op not supported, cdclk limits might be exceeded.\n");
+
igt_assert_eq(ret, 0);
cleanup(data);
@@ -354,6 +395,12 @@ run_sharpness_filter_test(data_t *data, enum test_type type)
case TEST_FILTER_SUSPEND:
snprintf(name, sizeof(name), "-suspend");
break;
+ case TEST_FILTER_UPSCALE:
+ snprintf(name, sizeof(name), "-upscale");
+ break;
+ case TEST_FILTER_DOWNSCALE:
+ snprintf(name, sizeof(name), "-downscale");
+ break;
default:
igt_assert(0);
}
@@ -511,6 +558,28 @@ igt_main_args("l", NULL, help_str, opt_handler, &data)
run_sharpness_filter_test(&data, TEST_FILTER_SUSPEND);
}
+ igt_describe("Verify content adaptive sharpness filter "
+ "with 1 plane scaler enabled.");
+ igt_subtest_with_dynamic("filter-scaler-upscale") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_FILTER_UPSCALE);
+ }
+
+ igt_describe("Verify content adaptive sharpness filter "
+ "with 1 plane scaler enabled.");
+ igt_subtest_with_dynamic("filter-scaler-downscale") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_FILTER_DOWNSCALE);
+ }
+
igt_fixture {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH i-g-t 8/9] tests/kms_sharpness_filter: Add invalid subtests
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
` (6 preceding siblings ...)
2024-12-04 8:26 ` [PATCH i-g-t 7/9] tests/kms_sharpness_filter: Add scaler subtests Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 9/9] tests/chamelium/kms_chamelium_sharpness_filter: Add basic test Swati Sharma
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma
Invalid subtests are added.
-invalid filter with scaler: enable scaler on 2 planes and attempt
is made to enable casf
-invalid filter with plane: enable 2 NV12 planes and attempt
is made to enable casf
-invalid plane with filter: enable 1 NV12 plane and casf and attempt
is made to enable 2nd NV12 plane
-invalid filter with scaling mode: enable scaling_mode property and attempt
is made to enable casf
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/kms_sharpness_filter.c | 178 ++++++++++++++++++++++++++++++++++-
1 file changed, 173 insertions(+), 5 deletions(-)
diff --git a/tests/kms_sharpness_filter.c b/tests/kms_sharpness_filter.c
index bafe300d3..912b34e3d 100644
--- a/tests/kms_sharpness_filter.c
+++ b/tests/kms_sharpness_filter.c
@@ -56,6 +56,30 @@
* SUBTEST: filter-scaler-downscale
* Description: Verify content adaptive sharpness filter with 1 plane scaler enabled.
* Functionality: casf, scaling
+ *
+ * SUBTEST: invalid-filter-with-scaler
+ * Description: Negative check for content adaptive sharpness filter
+ * when 2 plane scalers have already been enabled and
+ * attempt is made to enable sharpness filter.
+ * Functionality: casf, scaling
+ *
+ * SUBTEST: invalid-filter-with-plane
+ * Description: Negative check for content adaptive sharpness filter
+ * when 2 NV12 planes have already been enabled and attempt is
+ * made to enable the sharpness filter.
+ * Functionality: casf, plane
+ *
+ * SUBTEST: invalid-plane-with-filter
+ * Description: Negative check for content adaptive sharpness filter
+ * when 1 NV12 plane and sharpness filter have already been enabled
+ * and attempt is made to enable the second NV12 plane.
+ * Functionality: casf, plane
+ *
+ * SUBTEST: invalid-filter-with-scaling-mode
+ * Description: Negative check for content adaptive sharpness filter
+ * when scaling mode is already enabled and attempt is made to enable
+ * sharpness filter.
+ * Functionality: casf, scaling
*/
IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
@@ -76,9 +100,15 @@ IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter");
#define MAX_PIXELS_FOR_3_TAP_FILTER (1920 * 1080)
#define MAX_PIXELS_FOR_5_TAP_FILTER (3840 * 2160)
#define NROUNDS 10
-
+#define INVALID_TEST ((type == TEST_INVALID_FILTER_WITH_SCALER) \
+ || (type == TEST_INVALID_FILTER_WITH_PLANE) \
+ || (type == TEST_INVALID_PLANE_WITH_FILTER) \
+ || (type == TEST_INVALID_FILTER_WITH_SCALING_MODE))
#define SET_PLANES ((type == TEST_FILTER_UPSCALE) \
- || (type == TEST_FILTER_DOWNSCALE))
+ || (type == TEST_FILTER_DOWNSCALE) \
+ || (type == TEST_INVALID_FILTER_WITH_SCALER) \
+ || (type == TEST_INVALID_FILTER_WITH_PLANE) \
+ || (type == TEST_INVALID_FILTER_WITH_SCALING_MODE))
enum test_type {
TEST_FILTER_BASIC,
@@ -92,6 +122,10 @@ enum test_type {
TEST_FILTER_SUSPEND,
TEST_FILTER_UPSCALE,
TEST_FILTER_DOWNSCALE,
+ TEST_INVALID_FILTER_WITH_SCALER,
+ TEST_INVALID_FILTER_WITH_PLANE,
+ TEST_INVALID_PLANE_WITH_FILTER,
+ TEST_INVALID_FILTER_WITH_SCALING_MODE,
};
const int filter_strength_list[] = {
@@ -124,6 +158,11 @@ static const igt_rotation_t rotations[] = {
IGT_ROTATION_0,
IGT_ROTATION_180,
};
+static const uint32_t scaling_modes[] = {
+ DRM_MODE_SCALE_FULLSCREEN,
+ DRM_MODE_SCALE_CENTER,
+ DRM_MODE_SCALE_ASPECT,
+};
typedef struct {
int drm_fd;
@@ -141,6 +180,7 @@ typedef struct {
const char *modifier_name;
uint32_t format;
igt_rotation_t rotation;
+ uint32_t scaling_mode;
} data_t;
static void set_filter_strength_on_pipe(data_t *data)
@@ -150,6 +190,12 @@ static void set_filter_strength_on_pipe(data_t *data)
data->filter_strength);
}
+static bool has_scaling_mode(igt_output_t *output)
+{
+ return igt_output_has_prop(output, IGT_CONNECTOR_SCALING_MODE) &&
+ igt_output_get_prop(output, IGT_CONNECTOR_SCALING_MODE);
+}
+
static void paint_image(igt_fb_t *fb)
{
cairo_t *cr = igt_get_cairo_ctx(fb->fd, fb);
@@ -184,6 +230,7 @@ static void cleanup_fbs(data_t *data)
static void set_planes(data_t *data, enum test_type type)
{
+ int ret;
drmModeModeInfo *mode = data->mode;
igt_output_t *output = data->output;
@@ -201,6 +248,46 @@ static void set_planes(data_t *data, enum test_type type)
igt_plane_set_fb(data->plane[1], &data->fb[1]);
igt_plane_set_size(data->plane[1], mode->hdisplay * 0.75, mode->vdisplay * 0.75);
}
+
+ if (type == TEST_INVALID_FILTER_WITH_SCALER) {
+ setup_fb(data->drm_fd, 20, 20, data->format, data->modifier, &data->fb[1]);
+ setup_fb(data->drm_fd, 20, 20, data->format, data->modifier, &data->fb[2]);
+ igt_plane_set_fb(data->plane[1], &data->fb[1]);
+ igt_plane_set_fb(data->plane[2], &data->fb[2]);
+ igt_plane_set_size(data->plane[1], mode->hdisplay, mode->vdisplay);
+ igt_plane_set_size(data->plane[2], mode->hdisplay, mode->vdisplay);
+ }
+
+ if (type == TEST_INVALID_FILTER_WITH_PLANE) {
+ setup_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, data->format, data->modifier, &data->fb[1]);
+ setup_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, data->format, data->modifier, &data->fb[2]);
+ igt_plane_set_fb(data->plane[1], &data->fb[1]);
+ igt_plane_set_fb(data->plane[2], &data->fb[2]);
+ }
+
+ if (type == TEST_INVALID_PLANE_WITH_FILTER) {
+ setup_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, data->format, data->modifier, &data->fb[1]);
+ igt_plane_set_fb(data->plane[1], &data->fb[1]);
+ }
+
+ if (type == TEST_INVALID_FILTER_WITH_SCALING_MODE) {
+ setup_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, data->format, data->modifier, &data->fb[1]);
+ setup_fb(data->drm_fd, 640, 480, data->format, data->modifier, &data->fb[2]);
+ igt_plane_set_fb(data->plane[1], &data->fb[1]);
+ igt_plane_set_fb(data->plane[2], &data->fb[2]);
+
+ ret = igt_display_try_commit_atomic(&data->display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
+ igt_assert_eq(ret, 0);
+
+ mode->hdisplay = 640;
+ mode->vdisplay = 480;
+
+ igt_output_override_mode(data->output, mode);
+ igt_plane_set_fb(data->plane[2], NULL);
+ igt_plane_set_fb(data->plane[1], &data->fb[2]);
+
+ igt_output_set_prop_value(data->output, IGT_CONNECTOR_SCALING_MODE, data->scaling_mode);
+ }
}
static void cleanup(data_t *data)
@@ -272,15 +359,21 @@ static void test_sharpness_filter(data_t *data, enum test_type type)
else
igt_skip("No requested rotation on pipe %s\n", kmstest_pipe_name(data->pipe_id));
+ if (type == TEST_INVALID_FILTER_WITH_SCALING_MODE)
+ igt_require_f(has_scaling_mode(output), "No connecter scaling mode found on %s\n", output->name);
+
if (SET_PLANES)
set_planes(data, type);
set_filter_strength_on_pipe(data);
- if (data->filter_strength != 0)
+ if (!INVALID_TEST && data->filter_strength != 0)
igt_debug("Sharpened image should be observed for filter strength > 0\n");
- ret = igt_display_try_commit2(&data->display, COMMIT_ATOMIC);
+ if (type == TEST_INVALID_FILTER_WITH_SCALING_MODE)
+ ret = igt_display_try_commit_atomic(&data->display, 0, NULL);
+ else
+ ret = igt_display_try_commit2(&data->display, COMMIT_ATOMIC);
if (type == TEST_FILTER_DPMS) {
kmstest_set_connector_dpms(data->drm_fd,
@@ -302,7 +395,18 @@ static void test_sharpness_filter(data_t *data, enum test_type type)
igt_skip_on_f(ret == -ERANGE || ret == -EINVAL,
"Scaling op not supported, cdclk limits might be exceeded.\n");
- igt_assert_eq(ret, 0);
+ if (type == TEST_INVALID_PLANE_WITH_FILTER) {
+ data->plane[3] = igt_output_get_plane(data->output, 3);
+ setup_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, data->format, data->modifier, &data->fb[3]);
+ igt_plane_set_fb(data->plane[3], &data->fb[3]);
+
+ ret = igt_display_try_commit2(&data->display, COMMIT_ATOMIC);
+ }
+
+ if (INVALID_TEST)
+ igt_assert_eq(ret, -EINVAL);
+ else
+ igt_assert_eq(ret, 0);
cleanup(data);
}
@@ -401,6 +505,18 @@ run_sharpness_filter_test(data_t *data, enum test_type type)
case TEST_FILTER_DOWNSCALE:
snprintf(name, sizeof(name), "-downscale");
break;
+ case TEST_INVALID_FILTER_WITH_SCALER:
+ snprintf(name, sizeof(name), "-invalid-filter-with-scaler");
+ break;
+ case TEST_INVALID_FILTER_WITH_PLANE:
+ snprintf(name, sizeof(name), "-invalid-filter-with-plane");
+ break;
+ case TEST_INVALID_PLANE_WITH_FILTER:
+ snprintf(name, sizeof(name), "-invalid-plane-with-filter");
+ break;
+ case TEST_INVALID_FILTER_WITH_SCALING_MODE:
+ snprintf(name, sizeof(name), "-invalid-filter-with-scaling-mode-%s", kmstest_scaling_mode_str(data->scaling_mode));
+ break;
default:
igt_assert(0);
}
@@ -580,6 +696,58 @@ igt_main_args("l", NULL, help_str, opt_handler, &data)
run_sharpness_filter_test(&data, TEST_FILTER_DOWNSCALE);
}
+ igt_describe("Negative check for content adaptive sharpness filter "
+ "when 2 plane scalers have already been enabled and "
+ "attempt is made to enable sharpness filter.");
+ igt_subtest_with_dynamic("invalid-filter-with-scaler") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_INVALID_FILTER_WITH_SCALER);
+ }
+
+ igt_describe("Negative check for content adaptive sharpness filter "
+ "when 2 NV12 planes have already been enabled and attempt is "
+ "made to enable the sharpness filter.");
+ igt_subtest_with_dynamic("invalid-filter-with-plane") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_NV12;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_INVALID_FILTER_WITH_PLANE);
+ }
+
+ igt_describe("Negative check for content adaptive sharpness filter "
+ "when 1 NV12 plane and sharpness filter have already been enabled "
+ "and attempt is made to enable the second NV12 plane.");
+ igt_subtest_with_dynamic("invalid-plane-with-filter") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_NV12;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ run_sharpness_filter_test(&data, TEST_INVALID_PLANE_WITH_FILTER);
+ }
+
+ igt_describe("Negative check for content adaptive sharpness filter "
+ "when scaling mode is already enabled and attempt is made "
+ "to enable sharpness filter.");
+ igt_subtest_with_dynamic("invalid-filter-with-scaling-mode") {
+ data.modifier = DRM_FORMAT_MOD_LINEAR;
+ data.rotation = IGT_ROTATION_0;
+ data.format = DRM_FORMAT_XRGB8888;
+ data.filter_strength = MID_FILTER_STRENGTH;
+
+ for (int k = 0; k < ARRAY_SIZE(scaling_modes); k++) {
+ data.scaling_mode = scaling_modes[k];
+
+ run_sharpness_filter_test(&data, TEST_INVALID_FILTER_WITH_SCALING_MODE);
+ }
+ }
+
igt_fixture {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH i-g-t 9/9] tests/chamelium/kms_chamelium_sharpness_filter: Add basic test
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
` (7 preceding siblings ...)
2024-12-04 8:26 ` [PATCH i-g-t 8/9] tests/kms_sharpness_filter: Add invalid subtests Swati Sharma
@ 2024-12-04 8:26 ` Swati Sharma
8 siblings, 0 replies; 10+ messages in thread
From: Swati Sharma @ 2024-12-04 8:26 UTC (permalink / raw)
To: igt-dev; +Cc: ankit.k.nautiyal, Swati Sharma
Add new chamelium based sharpness test. Basic test is added where
we have tried comparing frame dump of unsharped and sharped image.
After, sharpness filter is applied its expected both frame dumps
will be different.
v2: -removed MIN/MAX_FILTER_STRENGTH (Ankit)
-fixed alignment (Ankit)
-removed commit with fb_ref (Ankit)
-set data->pipe_id (Ankit)
-removed disable_filter_strength_on_pipe()
-fixed CRASH
-fixed assert condition
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
.../kms_chamelium_sharpness_filter.c | 240 ++++++++++++++++++
tests/meson.build | 2 +
2 files changed, 242 insertions(+)
create mode 100644 tests/chamelium/kms_chamelium_sharpness_filter.c
diff --git a/tests/chamelium/kms_chamelium_sharpness_filter.c b/tests/chamelium/kms_chamelium_sharpness_filter.c
new file mode 100644
index 000000000..d7316723a
--- /dev/null
+++ b/tests/chamelium/kms_chamelium_sharpness_filter.c
@@ -0,0 +1,240 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+/**
+ * TEST: kms chamelium sharpness filter
+ * Category: Display
+ * Description: Test to validate content adaptive sharpness filter using Chamelium
+ * Driver requirement: xe
+ * Functionality: chamelium, casf
+ * Mega feature: General Display Features
+ * Test category: functionality test
+ */
+
+#include "igt.h"
+#include "igt_kms.h"
+
+/**
+ * SUBTEST: filter-basic
+ * Description: Verify basic content adaptive sharpness filter.
+ */
+
+IGT_TEST_DESCRIPTION("Test to validate content adaptive sharpness filter using Chamelium");
+
+#define MID_FILTER_STRENGTH 128
+
+typedef struct {
+ int drm_fd;
+ enum pipe pipe_id;
+ struct igt_fb fb, fb_ref;
+ igt_display_t display;
+ igt_output_t *output;
+ igt_plane_t *primary;
+ drmModeModeInfo *mode;
+ int filter_strength;
+ struct chamelium *chamelium;
+ struct chamelium_port **ports;
+ int port_count;
+} data_t;
+
+static bool pipe_output_combo_valid(data_t *data, enum pipe pipe)
+{
+ bool ret = true;
+
+ igt_output_set_pipe(data->output, pipe);
+ if (!intel_pipe_output_combo_valid(&data->display))
+ ret = false;
+ igt_output_set_pipe(data->output, PIPE_NONE);
+
+ return ret;
+}
+
+static void set_filter_strength_on_pipe(data_t *data)
+{
+ igt_pipe_set_prop_value(&data->display, data->pipe_id,
+ IGT_CRTC_SHARPNESS_STRENGTH,
+ data->filter_strength);
+}
+
+static void paint_image(igt_fb_t *fb)
+{
+ cairo_t *cr = igt_get_cairo_ctx(fb->fd, fb);
+ int img_x, img_y, img_w, img_h;
+ const char *file = "1080p-left.png";
+
+ img_x = img_y = 0;
+ img_w = fb->width;
+ img_h = fb->height;
+
+ igt_paint_image(cr, file, img_x, img_y, img_w, img_h);
+
+ igt_put_cairo_ctx(cr);
+}
+
+static void setup_fb(int fd, int width, int height, uint32_t format,
+ uint64_t modifier, struct igt_fb *fb)
+{
+ int fb_id;
+
+ fb_id = igt_create_fb(fd, width, height, format, modifier, fb);
+ igt_assert(fb_id);
+
+ paint_image(fb);
+}
+
+static void cleanup(data_t *data)
+{
+ igt_remove_fb(data->drm_fd, &data->fb);
+ igt_remove_fb(data->drm_fd, &data->fb_ref);
+ igt_output_set_pipe(data->output, PIPE_NONE);
+ igt_output_override_mode(data->output, NULL);
+ igt_display_commit2(&data->display, COMMIT_ATOMIC);
+}
+
+
+static bool test_t(data_t *data, igt_plane_t *primary,
+ struct chamelium_port *port)
+{
+ struct chamelium_frame_dump *dump;
+ drmModeModeInfo *mode;
+ int height, width;
+ bool ret = false;
+
+ igt_output_set_pipe(data->output, data->pipe_id);
+
+ mode = igt_output_get_mode(data->output);
+ height = mode->hdisplay;
+ width = mode->vdisplay;
+
+ setup_fb(data->drm_fd, height, width, DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_LINEAR, &data->fb_ref);
+ setup_fb(data->drm_fd, height, width, DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_LINEAR, &data->fb);
+
+ igt_plane_set_fb(data->primary, &data->fb);
+ set_filter_strength_on_pipe(data);
+ igt_display_commit2(&data->display, COMMIT_ATOMIC);
+
+ igt_debug("Reading frame dumps from Chamelium...\n");
+ chamelium_capture(data->chamelium, port, 0, 0, 0, 0, 1);
+ dump = chamelium_read_captured_frame(data->chamelium, 0);
+
+ ret = chamelium_frame_match_or_dump(data->chamelium, port,
+ dump, &data->fb_ref,
+ CHAMELIUM_CHECK_ANALOG);
+ chamelium_destroy_frame_dump(dump);
+ cleanup(data);
+
+ return ret;
+}
+
+static int test_setup(data_t *data, enum pipe p)
+{
+ igt_pipe_t *pipe;
+ int i = 0;
+
+ igt_display_reset(&data->display);
+ igt_modeset_disable_all_outputs(&data->display);
+ chamelium_reset_state(&data->display, data->chamelium, NULL,
+ data->ports, data->port_count);
+
+ pipe = &data->display.pipes[p];
+ igt_require(pipe->n_planes >= 0);
+
+ data->primary = igt_pipe_get_plane_type(pipe, DRM_PLANE_TYPE_PRIMARY);
+ igt_assert(data->primary);
+
+ /*
+ * Prefer to run this test on HDMI connector if its connected, since on DP we
+ * sometimes face DP FSM issue
+ */
+ for_each_valid_output_on_pipe(&data->display, p, data->output) {
+ data->pipe_id = p;
+ for (i = 0; i < data->port_count; i++) {
+ if ((data->output->config.connector->connector_type == DRM_MODE_CONNECTOR_HDMIA ||
+ data->output->config.connector->connector_type == DRM_MODE_CONNECTOR_HDMIB) &&
+ strcmp(data->output->name, chamelium_port_get_name(data->ports[i])) == 0)
+ return i;
+ }
+ }
+
+ for_each_valid_output_on_pipe(&data->display, p, data->output) {
+ data->pipe_id = p;
+ for (i = 0; i < data->port_count; i++) {
+ if (strcmp(data->output->name,
+ chamelium_port_get_name(data->ports[i])) == 0)
+ return i;
+ }
+ }
+
+ return -1;
+}
+
+static void test_sharpness_filter(data_t *data, enum pipe p)
+{
+ int port_idx = test_setup(data, p);
+
+ igt_require(port_idx >= 0);
+ igt_require(igt_pipe_obj_has_prop(&data->display.pipes[p], IGT_CRTC_SHARPNESS_STRENGTH));
+
+ if (!pipe_output_combo_valid(data, p))
+ return;
+
+ igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(p), data->output->name)
+ igt_assert_f(!(test_t(data, data->primary, data->ports[port_idx]) == 1), "No sharpness observed.\n");
+}
+
+static void
+run_sharpness_filter_test(data_t *data)
+{
+ igt_display_t *display = &data->display;
+ enum pipe pipe;
+
+ igt_describe("Verify basic content adaptive sharpness filter.");
+ igt_subtest_with_dynamic("filter-basic") {
+ for_each_pipe(display, pipe) {
+ data->filter_strength = MID_FILTER_STRENGTH;
+ test_sharpness_filter(data, pipe);
+ }
+ }
+}
+
+igt_main
+{
+ data_t data = {};
+
+ igt_fixture {
+ data.drm_fd = drm_open_driver_master(DRIVER_ANY);
+
+ igt_display_require(&data.display, data.drm_fd);
+ igt_require(data.display.is_atomic);
+
+ igt_chamelium_allow_fsm_handling = false;
+
+ /* we need to initalize chamelium after igt_display_require */
+ data.chamelium = chamelium_init(data.drm_fd, &data.display);
+ igt_require(data.chamelium);
+
+ data.ports = chamelium_get_ports(data.chamelium,
+ &data.port_count);
+
+ if (!data.port_count)
+ igt_skip("No ports connected\n");
+ /*
+ * We don't cause any harm by plugging
+ * discovered ports, just incase they are not plugged
+ * we currently skip in test_setup
+ */
+ for(int i = 0; i < data.port_count; i++)
+ chamelium_plug(data.chamelium, data.ports[i]);
+
+ kmstest_set_vt_graphics_mode();
+ }
+
+ run_sharpness_filter_test(&data);
+
+ igt_fixture {
+ igt_display_fini(&data.display);
+ drm_close_driver(data.drm_fd);
+ }
+}
diff --git a/tests/meson.build b/tests/meson.build
index 84d8bed4b..0a336c2c1 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -340,6 +340,7 @@ chamelium_progs = [
'kms_chamelium_edid',
'kms_chamelium_frames',
'kms_chamelium_hpd',
+ 'kms_chamelium_sharpness_filter',
]
test_deps = [ igt_deps ]
@@ -365,6 +366,7 @@ extra_sources = {
'kms_chamelium_edid': [ join_paths ('chamelium', 'kms_chamelium_helper.c') ],
'kms_chamelium_frames': [ join_paths ('chamelium', 'kms_chamelium_helper.c') ],
'kms_chamelium_hpd': [ join_paths ('chamelium', 'kms_chamelium_helper.c') ],
+ 'kms_chamelium_sharpness_filter': [ join_paths ('chamelium', 'kms_chamelium_helper.c') ],
'kms_dsc': [ join_paths ('intel', 'kms_dsc_helper.c') ],
'kms_psr2_sf': [ join_paths ('intel', 'kms_dsc_helper.c') ],
}
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-12-04 8:23 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04 8:26 [PATCH i-g-t,v9 0/9] Add new test to validate adaptive sharpness Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v2 1/9] lib/igt_kms: Add "sharpness strength" as crtc property Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v2 2/9] lib/igt_kms: Add func() to return scaling mode name string Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t, v9 3/9] tests/kms_sharpness_filter: Add adaptive sharpness basic filter tests Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 4/9] tests/kms_sharpness_filter: Add toggle subtest Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 5/9] tests/kms_sharpness_filter: Add filter-tap subtest Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 6/9] tests/kms_sharpness_filter: Add dpms/suspend subtests Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 7/9] tests/kms_sharpness_filter: Add scaler subtests Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 8/9] tests/kms_sharpness_filter: Add invalid subtests Swati Sharma
2024-12-04 8:26 ` [PATCH i-g-t 9/9] tests/chamelium/kms_chamelium_sharpness_filter: Add basic test Swati Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox