summaryrefslogtreecommitdiff
path: root/tests/pm_rpm.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-12-01 17:37:40 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-12-01 17:56:07 +0100
commit80546d45762a7b1e20885c557a08a41ef6d7fc10 (patch)
tree96d3c252dba5811cc0a0cd5705e04e03e0bfdb5a /tests/pm_rpm.c
parent8133295d02730dfc800d974e673dcb4b07460911 (diff)
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 <paulo.r.zanoni@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90546 Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tests/pm_rpm.c')
-rw-r--r--tests/pm_rpm.c1
1 files changed, 0 insertions, 1 deletions
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);