Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_hdr: Update dmesg error message
@ 2023-05-05  0:05 Lucas De Marchi
  2023-05-05  0:42 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lucas De Marchi @ 2023-05-05  0:05 UTC (permalink / raw)
  To: igt-dev; +Cc: Lucas De Marchi

Error message changed in the kernel in commit
e5eef23e267c ("drm/display: Don't block HDR_OUTPUT_METADATA on
unknown EOTF"). We should probably have a better way to get this
error, but this should bring it back to a pass.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---

Still to be tested.... didn't have a machine available to reproduce it

 tests/kms_hdr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_hdr.c b/tests/kms_hdr.c
index 23f12c14a..cbc0f3a55 100644
--- a/tests/kms_hdr.c
+++ b/tests/kms_hdr.c
@@ -418,7 +418,7 @@ static void test_static_toggle(data_t *data, enum pipe pipe,
 	igt_output_set_prop_value(data->output, IGT_CONNECTOR_MAX_BPC, 10);
 	igt_display_commit_atomic(display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
 	if (flags & TEST_INVALID_HDR) {
-		igt_assert_eq(system("dmesg|tail -n 1000|grep -E \"EOTF Not Supported\""), 0);
+		igt_assert_eq(system("dmesg|tail -n 1000|grep -E \"Unknown EOTF [0-9]+\""), 0);
 		goto cleanup;
 	}
 	igt_assert_output_bpc_equal(data->fd, pipe, output->name, 10);
-- 
2.40.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-05 15:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-05  0:05 [igt-dev] [PATCH i-g-t] tests/kms_hdr: Update dmesg error message Lucas De Marchi
2023-05-05  0:42 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-05-05  8:07 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-05-05 14:39 ` [igt-dev] [PATCH i-g-t] " Lucas De Marchi
2023-05-05 15:04   ` Sharma, Swati2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox