projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9406911
)
drm/xe/kunit: Use KUNIT_EXPECT_EQ() in xe_wa_gt()
author
Gustavo Sousa
<gustavo.sousa@intel.com>
Thu, 14 May 2026 21:44:48 +0000
(18:44 -0300)
committer
Gustavo Sousa
<gustavo.sousa@intel.com>
Fri, 15 May 2026 21:05:13 +0000
(18:05 -0300)
Use KUNIT_EXPECT_EQ() in xe_wa_gt() as reg_sr errors in one GT do not
impact the next GT in the test.
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link:
https://patch.msgid.link/20260514-rtp-mcr-check-v3-5-30dd47855fee@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/xe/tests/xe_wa_test.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/tests/xe_wa_test.c
b/drivers/gpu/drm/xe/tests/xe_wa_test.c
index
49d1910
..
2bf6fab
100644
(file)
--- a/
drivers/gpu/drm/xe/tests/xe_wa_test.c
+++ b/
drivers/gpu/drm/xe/tests/xe_wa_test.c
@@
-55,7
+55,7
@@
static void xe_wa_gt(struct kunit *test)
xe_wa_process_gt(gt);
xe_tuning_process_gt(gt);
- KUNIT_
ASSER
T_EQ(test, gt->reg_sr.errors, 0);
+ KUNIT_
EXPEC
T_EQ(test, gt->reg_sr.errors, 0);
}
}