Message ID | uxxb22n667zb3aic6zs4mr2krv5zavav5v2zjgqnhnabgxgzif@4icszicjakex (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v3] i915/gt/selftests: Disable lrc_timestamp test | expand |
Hi Mikolaj, > 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. > > Fixes: 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> Best Regards, Krzysztof
diff --git a/drivers/gpu/drm/i915/gt/selftest_lrc.c b/drivers/gpu/drm/i915/gt/selftest_lrc.c index 22e750108c5f..c928b4723c38 100644 --- a/drivers/gpu/drm/i915/gt/selftest_lrc.c +++ b/drivers/gpu/drm/i915/gt/selftest_lrc.c @@ -7,6 +7,7 @@ #include "gem/i915_gem_internal.h" +#include "i915_drv.h" #include "i915_selftest.h" #include "intel_engine_heartbeat.h" #include "intel_engine_pm.h" @@ -858,6 +859,16 @@ static int live_lrc_timestamp(void *arg) U32_MAX, }; + /* + * This test was designed to isolate a hardware bug. + * The bug was found and fixed in future generations but + * now the test pollutes our CI on previous generation. + * + * https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13697 + */ + if (GRAPHICS_VER(gt->i915) == 12) + return 0; + /* * We want to verify that the timestamp is saved and restore across * context switches and is monotonic.