From 80546d45762a7b1e20885c557a08a41ef6d7fc10 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 1 Dec 2015 17:37:40 +0100 Subject: [PATCH] tests/pm_rpm: Don't compare edid blob IDs The kernel is free to allocate blob ids however it wants to. And also to reallocate them whenever it sees fit. The only thing we are allowed to compare is the length and the actual date. Removing this bogus check makes drm-resources-equal on my snb. Cc: Paulo Zanoni Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90546 Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- tests/pm_rpm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/pm_rpm.c b/tests/pm_rpm.c index e9ba9ea2..476666a5 100644 --- a/tests/pm_rpm.c +++ b/tests/pm_rpm.c @@ -510,7 +510,6 @@ static void assert_drm_edids_equal(drmModePropertyBlobPtr e1, return; igt_assert(e1 && e2); - COMPARE(e1, e2, id); COMPARE(e1, e2, length); igt_assert(memcmp(e1->data, e2->data, e1->length) == 0);