public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_content_protection: restore for real before failing
@ 2018-10-26 14:14 Daniel Vetter
  2018-10-26 14:40 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Vetter @ 2018-10-26 14:14 UTC (permalink / raw)
  To: IGT development; +Cc: Daniel Vetter

Nothing happens if you don't commit ...

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108550
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108549
Cc: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 tests/kms_content_protection.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 87c7a9abd38a..060a00f95d04 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -174,12 +174,11 @@ test_cp_enable_disable(const enum pipe pipe, igt_output_t *output,
 	/* FIXME: Kernel totally falls over if we leave HDCP enabled. Work
 	 * around this for now by restoring it before check whether it worked. */
 	igt_output_set_prop_value(output, IGT_CONNECTOR_CONTENT_PROTECTION, 0);
-
-	igt_assert_f(ret, "Content Protection not enabled\n");
-
 	igt_plane_set_fb(primary, &red);
 	igt_display_commit2(display, s);
 
+	igt_assert_f(ret, "Content Protection not enabled\n");
+
 	/* Wait for HDCP to be disabled, before crtc off */
 	wait_for_prop_value(output, 0, 1000);
 
-- 
2.19.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_content_protection: restore for real before failing
  2018-10-26 14:14 [igt-dev] [PATCH i-g-t] tests/kms_content_protection: restore for real before failing Daniel Vetter
@ 2018-10-26 14:40 ` Patchwork
  2018-10-29  6:49 ` [igt-dev] [PATCH i-g-t] " C, Ramalingam
  2018-10-29  8:39 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2018-10-26 14:40 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: igt-dev

== Series Details ==

Series: tests/kms_content_protection: restore for real before failing
URL   : https://patchwork.freedesktop.org/series/51604/
State : failure

== Summary ==

Applying: tests/kms_content_protection: restore for real before failing
Patch failed at 0001 tests/kms_content_protection: restore for real before failing
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] tests/kms_content_protection: restore for real before failing
  2018-10-26 14:14 [igt-dev] [PATCH i-g-t] tests/kms_content_protection: restore for real before failing Daniel Vetter
  2018-10-26 14:40 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
@ 2018-10-29  6:49 ` C, Ramalingam
  2018-10-29  8:39 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2 siblings, 0 replies; 4+ messages in thread
From: C, Ramalingam @ 2018-10-29  6:49 UTC (permalink / raw)
  To: Daniel Vetter, IGT development; +Cc: Daniel Vetter

On 10/26/2018 7:44 PM, Daniel Vetter wrote:
> Nothing happens if you don't commit ...
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108550
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108549
> Cc: Ramalingam C <ramalingam.c@intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> ---
>   tests/kms_content_protection.c | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
> index 87c7a9abd38a..060a00f95d04 100644
> --- a/tests/kms_content_protection.c
> +++ b/tests/kms_content_protection.c
> @@ -174,12 +174,11 @@ test_cp_enable_disable(const enum pipe pipe, igt_output_t *output,
>   	/* FIXME: Kernel totally falls over if we leave HDCP enabled. Work
>   	 * around this for now by restoring it before check whether it worked. */
>   	igt_output_set_prop_value(output, IGT_CONNECTOR_CONTENT_PROTECTION, 0);
> -
> -	igt_assert_f(ret, "Content Protection not enabled\n");
> -
>   	igt_plane_set_fb(primary, &red);
>   	igt_display_commit2(display, s);
>   
> +	igt_assert_f(ret, "Content Protection not enabled\n");
> +

Ashamed for not catching this at original change itself. :(

Reviewed-by: Ramalingam C <ramalingam.c@intel.com>

>   	/* Wait for HDCP to be disabled, before crtc off */
>   	wait_for_prop_value(output, 0, 1000);
>   
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_content_protection: restore for real before failing
  2018-10-26 14:14 [igt-dev] [PATCH i-g-t] tests/kms_content_protection: restore for real before failing Daniel Vetter
  2018-10-26 14:40 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2018-10-29  6:49 ` [igt-dev] [PATCH i-g-t] " C, Ramalingam
@ 2018-10-29  8:39 ` Patchwork
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2018-10-29  8:39 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: igt-dev

== Series Details ==

Series: tests/kms_content_protection: restore for real before failing
URL   : https://patchwork.freedesktop.org/series/51604/
State : failure

== Summary ==

Applying: tests/kms_content_protection: restore for real before failing
Patch failed at 0001 tests/kms_content_protection: restore for real before failing
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-29  8:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-26 14:14 [igt-dev] [PATCH i-g-t] tests/kms_content_protection: restore for real before failing Daniel Vetter
2018-10-26 14:40 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2018-10-29  6:49 ` [igt-dev] [PATCH i-g-t] " C, Ramalingam
2018-10-29  8:39 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox