From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: "Peres, Martin" <martin.peres@intel.com>,
"Lisovskiy, Stanislav" <stanislav.lisovskiy@intel.com>,
"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Cc: "Syrjala, Ville" <ville.syrjala@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t] igt/tests: kms_plane_stress: Add plane stress test
Date: Thu, 21 Mar 2019 15:06:33 +0100 [thread overview]
Message-ID: <416bb49a-330d-70d2-5d06-47418aca30e5@linux.intel.com> (raw)
In-Reply-To: <56A4AB1F0E1B5D4C83D27F43C50F662E58F4D313@IRSMSX107.ger.corp.intel.com>
Op 21-03-2019 om 14:59 schreef Peres, Martin:
> On 21/03/2019 15:06, Maarten Lankhorst wrote:
>> Op 21-03-2019 om 13:59 schreef Lisovskiy, Stanislav:
>>> On Thu, 2019-03-21 at 13:41 +0100, Maarten Lankhorst wrote:
>>>> Op 21-03-2019 om 13:34 schreef Stanislav Lisovskiy:
>>>>> This test attempts to utilize all connected
>>>>> outputs at the same time, using maximum possible
>>>>> resolution and amount of planes, to check whether
>>>>> we are hiting any kind of bandwidth, watermark or
>>>>> other limitations.
>>>>>
>>>>> Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
>>>>> ---
>>>>> lib/igt_kms.h | 7 ++
>>>>> tests/Makefile.sources | 1 +
>>>>> tests/kms_plane_stress.c | 247
>>>>> +++++++++++++++++++++++++++++++++++++++
>>>>> tests/meson.build | 1 +
>>>>> tests/test.png | Bin 0 -> 1068158 bytes
>>>> Remove the test png? You can use cairo calls to draw something, or
>>>> igt_create_pattern_fb to get a default pattern.
>>> Yes, can remove it. Just wanted some nice image here, however probably
>>> yeah will leave it for local testing.
>>>
>>>> How is this different from kms_atomic_transition btw? It tries the
>>>> same at least.
>>> Well, I guess kms_atomic_transition doesn't utilize all pipe at the
>>> same time, it goes just one by one. Here it tries to use all pipes
>>> at the same time.
>>>
>> But it does have tests for all modes, see run_modeset_transition. Only thing missing is
>>
>> that we don't enable all planes yet. But this should be easy to add with try commit.
> The goal of this test is to be a pathological test case for the
> watermarks, which it has not reached yet. This test needs to enable all
> the pipe and all the planes, then increase the size of the planes until
> try-commit fails. Then we should commit the last-accepted configuration,
> and collect CRCs (check if they are stable) for 5 seconds. This could be
> named igt@kms_watermark@display, and I think we should iterate through a
> short list of formats that have widely different access patterns.
>
> Another subtest would do the same thing as display, but also add a
> thread that runs memcpy continuously. This could be
> igt@kms_watermark@display+cpu.
>
> Another subtest would also spawn a GPU kernel doing blits (this is
> faster than the blitter). This could be igt@kms_watermark@display+render
> and should skip on non-intel platforms.
>
> And finally, we could have a @all subtest that just tries running
> everything in parallel. I think @display and @all should be the only
> ones found in CI.
>
> At all time, the CRCs should not change and no underruns should be
> reported. Any failure is a failure from the kernel to set high-enough
> watermarks.
>
> If you think the right place for this is kms_atomic_transition, then I
> am fine with it.
kms_atomic_transition was meant to hit all kind of limitations, including testing all kind of transitions while all planes are enabled. Could be good for this kind of stuff too.
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-03-21 14:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-21 12:34 [igt-dev] [PATCH i-g-t] igt/tests: kms_plane_stress: Add plane stress test Stanislav Lisovskiy
2019-03-21 12:41 ` Maarten Lankhorst
2019-03-21 12:59 ` Lisovskiy, Stanislav
2019-03-21 13:06 ` Maarten Lankhorst
2019-03-21 13:44 ` Lisovskiy, Stanislav
2019-03-21 13:59 ` Peres, Martin
2019-03-21 14:06 ` Maarten Lankhorst [this message]
2019-03-25 11:10 ` [igt-dev] ✗ Fi.CI.BAT: failure for igt/tests: kms_plane_stress: Add plane stress test (rev2) Patchwork
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=416bb49a-330d-70d2-5d06-47418aca30e5@linux.intel.com \
--to=maarten.lankhorst@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=martin.peres@intel.com \
--cc=stanislav.lisovskiy@intel.com \
--cc=ville.syrjala@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