From: Ramalingam C <ramalingam.c@intel.com>
To: "Shankar, Uma" <uma.shankar@intel.com>
Cc: "igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>,
"Vetter, Daniel" <daniel.vetter@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t v6 2/8] kms_content_protection: Link Integrity Check subtest
Date: Mon, 6 May 2019 11:57:19 +0530 [thread overview]
Message-ID: <20190506062719.GI12742@intel.com> (raw)
In-Reply-To: <E7C9878FBA1C6D42A1CA3F62AEB6945F81FEDAE7@BGSMSX104.gar.corp.intel.com>
On 2019-05-06 at 11:37:25 +0530, Shankar, Uma wrote:
>
>
> >-----Original Message-----
> >From: igt-dev [mailto:igt-dev-bounces@lists.freedesktop.org] On Behalf Of
> >Ramalingam C
> >Sent: Thursday, May 2, 2019 6:46 PM
> >To: igt-dev@lists.freedesktop.org; Vetter, Daniel <daniel.vetter@intel.com>; Hiler,
> >Arkadiusz <arkadiusz.hiler@intel.com>
> >Subject: [igt-dev] [PATCH i-g-t v6 2/8] kms_content_protection: Link Integrity Check
> >subtest
> >
> >Existing Link integrity check test is moved into dedicated subtest.
> >This helps to reduced the execution time of other tests by removing the repeated Link
>
> s/reduced/reduce
Will fix the Typo.
>
> >integrity check on every other tests.
> >
> >Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
> >Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> >---
> > tests/kms_content_protection.c | 11 ++++++++++-
> > 1 file changed, 10 insertions(+), 1 deletion(-)
> >
> >diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c index
> >051a3dfec5ba..e3bb39f42ada 100644
> >--- a/tests/kms_content_protection.c
> >+++ b/tests/kms_content_protection.c
> >@@ -38,6 +38,7 @@ struct data {
> > } data;
> >
> > #define CP_DPMS (1 << 0)
> >+#define CP_LIC (1 << 1)
> >
> > #define CP_UNDESIRED 0
> > #define CP_DESIRED 1
> >@@ -265,7 +266,9 @@ static void test_content_protection_on_output(igt_output_t
> >*output,
> >
> > modeset_with_fb(pipe, output, s);
> > test_cp_enable_with_retry(output, s, 3);
> >- test_cp_lic(output);
> >+
> >+ if (data.cp_tests & CP_LIC)
> >+ test_cp_lic(output);
> >
> > if (data.cp_tests & CP_DPMS) {
> > igt_pipe_set_prop_value(display, pipe, @@ -374,6 +377,12
> >@@ igt_main
> > test_content_protection(COMMIT_ATOMIC);
> > }
> >
> >+ igt_subtest("LIC") {
> >+ igt_require(data.display.is_atomic);
> >+ data.cp_tests = CP_LIC;
> >+ test_content_protection(COMMIT_ATOMIC);
> >+ }
>
> Same comment as on earlier patch, should we not reset this flag after test.
Resetting the flag is not required as the next subtest is assigning the
required flag than editing it.
-Ram
>
> >+
> > igt_fixture
> > igt_display_fini(&data.display);
> > }
> >--
> >2.19.1
> >
> >_______________________________________________
> >igt-dev mailing list
> >igt-dev@lists.freedesktop.org
> >https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-05-06 6:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-02 13:16 [igt-dev] [PATCH i-g-t v6 0/8] HDCP2.2 Tests Ramalingam C
2019-05-02 13:16 ` [igt-dev] [PATCH i-g-t v6 1/8] kms_content_protection: Tests are defined by flags Ramalingam C
2019-05-06 6:01 ` Shankar, Uma
2019-05-06 6:26 ` Ramalingam C
2019-05-06 9:53 ` Shankar, Uma
2019-05-02 13:16 ` [igt-dev] [PATCH i-g-t v6 2/8] kms_content_protection: Link Integrity Check subtest Ramalingam C
2019-05-06 6:07 ` Shankar, Uma
2019-05-06 6:27 ` Ramalingam C [this message]
2019-05-02 13:16 ` [igt-dev] [PATCH i-g-t v6 3/8] kms_content_protection: Content type support Ramalingam C
2019-05-06 11:00 ` Shankar, Uma
2019-05-02 13:16 ` [igt-dev] [PATCH i-g-t v6 4/8] kms_content_protection: test teardown and rebuild of I915-mei I/F Ramalingam C
2019-05-06 11:09 ` Shankar, Uma
2019-05-02 13:16 ` [igt-dev] [PATCH i-g-t v6 5/8] kms_content_protection: test content type change Ramalingam C
2019-05-06 11:25 ` Shankar, Uma
2019-05-02 13:16 ` [igt-dev] [PATCH i-g-t v6 6/8] kms_content_protection: uevent for HDCP status change Ramalingam C
2019-05-02 13:16 ` [igt-dev] [PATCH i-g-t v6 7/8] kms_content_protection: SRM Testing Ramalingam C
2019-05-06 11:40 ` Shankar, Uma
2019-05-16 11:35 ` Mun, Gwan-gyeong
2019-05-02 13:16 ` [igt-dev] [PATCH i-g-t v6 8/8] DO NOT MERGE: CP in fast feedback list Ramalingam C
2019-05-02 14:13 ` [igt-dev] ✓ Fi.CI.BAT: success for HDCP2.2 Tests (rev6) Patchwork
2019-05-02 17:14 ` [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=20190506062719.GI12742@intel.com \
--to=ramalingam.c@intel.com \
--cc=daniel.vetter@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=uma.shankar@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