From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Martin Peres <martin.peres@linux.intel.com>,
Arkadiusz Hiler <arkadiusz.hiler@intel.com>,
igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 2/2] tests/kms_plane_multiple: Do not iterate over output twice
Date: Mon, 11 Mar 2019 15:59:22 +0100 [thread overview]
Message-ID: <fc566481-2d20-e0d2-82d3-5f70d0a1c512@linux.intel.com> (raw)
In-Reply-To: <af3915cc-c77e-5bdf-29e2-66ec5fd3c00f@linux.intel.com>
Op 11-03-2019 om 15:05 schreef Martin Peres:
> On 11/03/2019 15:31, Arkadiusz Hiler wrote:
>> test_plane_position already iterates over outputs using
>> for_each_valid_output_on_pipe so there is no need to do that twice,
>> especially with unused *output.
>>
>> Cc: Mika Kahola <mika.kahola@intel.com>
>> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> Cc: Martin Peres <martin.peres@linux.intel.com>
> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
>
>> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
>> ---
>> tests/kms_plane_multiple.c | 4 ----
>> 1 file changed, 4 deletions(-)
>>
>> diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
>> index 617054d9..7d8bc325 100644
>> --- a/tests/kms_plane_multiple.c
>> +++ b/tests/kms_plane_multiple.c
>> @@ -341,19 +341,15 @@ run_tests_for_pipe(data_t *data, enum pipe pipe)
>> }
>>
>> igt_subtest_f("atomic-pipe-%s-tiling-x", kmstest_pipe_name(pipe))
>> - for_each_valid_output_on_pipe(&data->display, pipe, output)
> test_plane_position is still using for_each_valid_output_on_pipe instead
> of for_each_pipe_with_single_output, unless we really expect the
> connectors to matter here?
>
> If not (which I assume is true), it would be good to drop the usage of
> for_each_valid_output_on_pipe for crc-testing and replace all occurences
> with for_each_pipe_with_single_output. This should speed up KMS testing
> on the machines with 2+ screens attached.
Yeah, one output per pipe is sufficient. Pipe crc doesn't really differ based on output, and even if it did that macro will attempt to test all outputs at least once. Should be enough coverage. :)
~Maarten
_______________________________________________
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-11 14:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 13:31 [igt-dev] [PATCH i-g-t 1/2] tests/kms_plane_scaling: Rip out unused igt_pipe_crc_t Arkadiusz Hiler
2019-03-11 13:31 ` [igt-dev] [PATCH i-g-t 2/2] tests/kms_plane_multiple: Do not iterate over output twice Arkadiusz Hiler
2019-03-11 14:05 ` Martin Peres
2019-03-11 14:59 ` Maarten Lankhorst [this message]
2019-03-11 14:06 ` Daniel Vetter
2019-03-11 14:11 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] tests/kms_plane_scaling: Rip out unused igt_pipe_crc_t Patchwork
2019-03-11 14:12 ` [igt-dev] [PATCH i-g-t 1/2] " Daniel Vetter
2019-03-11 15:54 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/2] " Patchwork
2019-03-12 11:09 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] tests/kms_plane_scaling: Rip out unused igt_pipe_crc_t (rev2) Patchwork
2019-03-12 12:56 ` [igt-dev] ✓ Fi.CI.IGT: " 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=fc566481-2d20-e0d2-82d3-5f70d0a1c512@linux.intel.com \
--to=maarten.lankhorst@linux.intel.com \
--cc=arkadiusz.hiler@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=martin.peres@linux.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