From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>,
igt-dev@lists.freedesktop.org
Cc: ville.syrjala@intel.com, martin.peres@intel.com,
juha-pekka.heikkila@intel.com
Subject: Re: [igt-dev] [PATCH i-g-t v9 3/3] igt/tests/kms_atomic_transition: Tolerate if can't have all planes
Date: Thu, 11 Apr 2019 10:39:55 +0200 [thread overview]
Message-ID: <7f9aba74-4346-de97-53f7-9b0e2452bd70@linux.intel.com> (raw)
In-Reply-To: <a1ad3421-2d3e-2a35-45a9-4a23ff8aad57@linux.intel.com>
Op 10-04-2019 om 17:06 schreef Maarten Lankhorst:
> Op 10-04-2019 om 13:32 schreef Stanislav Lisovskiy:
>> With some upcoming changes i915 might not allow
>> all sprite planes enabled, depending on available
>> bandwidth limitation. Thus the test need to decrement
>> amount of planes and try again, instead of panicking.
>>
>> v2: Removed excessive nested conditions, making code a bit
>> more readable(hopefully).
>>
>> v3: Stopped using global n_planes variable as it might cause
>> resources being unreleased.
>> Using now parms[i].mask as a way to determine if plane
>> has to be included into commit.
>>
>> v4: Removed unneeded n_overlays initialization.
>>
>> v5: Randomize which of sprite planes to remove if hitting
>> resource limits.
>>
>> v6: Replace igt_warn with igt_info, to make IGT tests happier.
>>
>> v7: Removed unneeded retry logic, made plane random removal simplier.
>> Great thanks to Maarten Lankhorst for suggestions.
>>
>> v8: Fail if we have less than 3 planes
>>
>> v9: Remove unneeded diffs
>>
>> Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
>> ---
>> tests/kms_atomic_transition.c | 78 +++++++++++++++++++++--------------
>> 1 file changed, 47 insertions(+), 31 deletions(-)
> Assuming CI is happy:
>
> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>
Thanks, pushed. :)
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-04-11 8:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-10 11:32 [igt-dev] [PATCH i-g-t v9 0/3] kms_atomic_transition improvements Stanislav Lisovskiy
2019-04-10 11:32 ` [igt-dev] [PATCH i-g-t v9 1/3] igt/tests: Remove redundant alpha retry Stanislav Lisovskiy
2019-04-10 11:32 ` [igt-dev] [PATCH i-g-t v9 2/3] igt/tests/kms_atomic_transition: Skip transition, if no changes done Stanislav Lisovskiy
2019-04-10 11:32 ` [igt-dev] [PATCH i-g-t v9 3/3] igt/tests/kms_atomic_transition: Tolerate if can't have all planes Stanislav Lisovskiy
2019-04-10 15:06 ` Maarten Lankhorst
2019-04-11 8:39 ` Maarten Lankhorst [this message]
2019-04-11 9:07 ` Lisovskiy, Stanislav
2019-04-10 12:21 ` [igt-dev] ✓ Fi.CI.BAT: success for kms_atomic_transition improvements (rev17) Patchwork
2019-04-10 16:33 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=7f9aba74-4346-de97-53f7-9b0e2452bd70@linux.intel.com \
--to=maarten.lankhorst@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=juha-pekka.heikkila@intel.com \
--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