Skip to content

Commit 73782fc

Browse files
mwasiakintAndi Shyti
authored andcommitted
i915/gt/selftests: Disable lrc_timestamp test
This test was designed to isolate a bug in tigerlake and dg2 hardware. The bug was found and fixed in newer generations. Since we won't support any new hardware with this driver, the test should now be turned off in the CI to not pollute it with random failures on previous hardware. For reference, the issue has been discssued here[*]. [*] https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13697 Signed-off-by: Mikolaj Wasiak <mikolaj.wasiak@intel.com> Reviewed-by: Chris Wilson <chris.p.wilson@linux.intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/uxxb22n667zb3aic6zs4mr2krv5zavav5v2zjgqnhnabgxgzif@4icszicjakex
1 parent 34b1c1c commit 73782fc

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

drivers/gpu/drm/i915/gt/selftest_lrc.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "gem/i915_gem_internal.h"
99

10+
#include "i915_drv.h"
1011
#include "i915_selftest.h"
1112
#include "intel_engine_heartbeat.h"
1213
#include "intel_engine_pm.h"
@@ -858,6 +859,14 @@ static int live_lrc_timestamp(void *arg)
858859
U32_MAX,
859860
};
860861

862+
/*
863+
* This test was designed to isolate a hardware bug.
864+
* The bug was found and fixed in future generations but
865+
* now the test pollutes our CI on previous generation.
866+
*/
867+
if (GRAPHICS_VER(gt->i915) == 12)
868+
return 0;
869+
861870
/*
862871
* We want to verify that the timestamp is saved and restore across
863872
* context switches and is monotonic.

0 commit comments

Comments
 (0)