mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
drm/xe/kunit: Use KUNIT_EXPECT_EQ() in xe_wa_gt()
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>
This commit is contained in:
parent
94069111b8
commit
5f7266c3f3
|
|
@ -55,7 +55,7 @@ static void xe_wa_gt(struct kunit *test)
|
|||
xe_wa_process_gt(gt);
|
||||
xe_tuning_process_gt(gt);
|
||||
|
||||
KUNIT_ASSERT_EQ(test, gt->reg_sr.errors, 0);
|
||||
KUNIT_EXPECT_EQ(test, gt->reg_sr.errors, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user