From: Tvrtko Ursulin <tursulin@ursulin.net>
To: Chris Wilson <chris.p.wilson@linux.intel.com>,
Mikolaj Wasiak <mikolaj.wasiak@intel.com>,
intel-gfx@lists.freedesktop.org
Cc: Andi Shyti <andi.shyti@intel.com>,
Krzysztof Karas <krzysztof.karas@intel.com>,
chris.p.wilson@intel.com
Subject: Re: [PATCH] i915/gt/selftest_lrc: Remove timestamp test
Date: Fri, 7 Mar 2025 08:14:14 +0000 [thread overview]
Message-ID: <aa9ab326-0170-44eb-bd90-cfc4d25a3cfd@ursulin.net> (raw)
In-Reply-To: <174125743728.766812.11198274438700228285@DEV-409>
On 06/03/2025 10:37, Chris Wilson wrote:
> Quoting Tvrtko Ursulin (2025-03-04 16:43:45)
>>
>> On 04/03/2025 13:09, Mikolaj Wasiak wrote:
>>> This test exposes bug in tigerlake hardware which prevents it from
>>> succeeding. Since the tested feature is only available on bugged hardware
>>> and we won't support any new hardware, this test is obsolete and
>>> should be removed.
>>
>> I randomly clicked on one TGL, one DG2, one MTL and one RKL in the CI
>> and only saw test passes. Then I looked at the patch below to see if
>> there is a skip condition but don't see one. So I end up confused since
>> commit message is making it sound like this only exists on Tigerlake and
>> it's failing all the time. Is it perhaps a sporadic failure? On all
>> platforms or just TGL? What am I missing?
>
> The HW issue affects all gen12 platforms currently supported by i915. I
> don't have any data for derivatives, so I cannot confirm if this bug was
> fixed. The lrc_timestamp test was written to demonstrate this HW bug, to
> isolate it from (and explain) the pphwsp runtime discrepancies, covered
> by another selftest. The question is whether we want to keep a selftest
> that is expected to sporadically fail, that exists purely to hunt for
> those failures.
>
> In the past, we have kept such selftests, but hidden them behind
> !IS_ENABLED(CONFIG_DRM_I915_SELFTEST_BROKEN).
>
> So,
> - keep the selftest and expect sporadic failures in BAT, or
Up to Intel - it's not the first sporadically failing test and in the
past at least those were handled.
> - remove the selftest and completely forget about the HW issue, or
> - hide the selftest and stop it running on known bad platforms?
Either of these two are also fine I think, as long as, if the removal is
chosen, it is made sure that either we already have the comment briefly
explaining the above somewhere in code, at a suitable location, or that
a brief comment is added with the removal. And commit message improved
to be less misleading about the failure frequency.
Regards,
Tvrtko
next prev parent reply other threads:[~2025-03-07 8:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 13:09 [PATCH] i915/gt/selftest_lrc: Remove timestamp test Mikolaj Wasiak
2025-03-04 15:43 ` Tvrtko Ursulin
2025-03-06 10:37 ` Chris Wilson
2025-03-06 15:07 ` Krzysztof Karas
2025-03-06 16:13 ` Chris Wilson
2025-03-07 8:14 ` Tvrtko Ursulin [this message]
2025-03-04 18:08 ` ✓ i915.CI.BAT: success for " Patchwork
2025-03-05 8:53 ` ✗ i915.CI.Full: failure " Patchwork
2025-03-05 14:26 ` [PATCH] " Sebastian Brzezinka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa9ab326-0170-44eb-bd90-cfc4d25a3cfd@ursulin.net \
--to=tursulin@ursulin.net \
--cc=andi.shyti@intel.com \
--cc=chris.p.wilson@intel.com \
--cc=chris.p.wilson@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=krzysztof.karas@intel.com \
--cc=mikolaj.wasiak@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox