[PATCH i-g-t v1 2/2] tests/kms_async_flips: use in_formats_async to get async modifiers list
Santhosh Reddy Guddati
santhosh.reddy.guddati at intel.com
Thu Oct 3 08:44:20 UTC 2024
Signed-off-by: Santhosh Reddy Guddati <santhosh.reddy.guddati at intel.com>
---
tests/kms_async_flips.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
index 5b70c4033..62bd12f41 100644
--- a/tests/kms_async_flips.c
+++ b/tests/kms_async_flips.c
@@ -655,12 +655,12 @@ static void run_test_with_modifiers(data_t *data, void (*test)(data_t *))
for_each_pipe_with_valid_output(&data->display, data->pipe, data->output) {
test_init(data);
- for (int i = 0; i < data->plane->format_mod_count; i++) {
+ for (int i = 0; i < data->plane->async_format_mod_count; i++) {
if (data->plane->formats[i] != DRM_FORMAT_XRGB8888)
continue;
data->allow_fail = true;
- data->modifier = data->plane->modifiers[i];
+ data->modifier = data->plane->async_modifiers[i];
igt_dynamic_f("pipe-%s-%s-%s", kmstest_pipe_name(data->pipe),
data->output->name,
--
2.34.1
More information about the igt-dev
mailing list