[Intel-gfx] [PATCH i-g-t] tests/kms_flip: Add test to check suspend/resume
Rodrigo Siqueira
rodrigosiqueiramelo at gmail.com
Mon Jan 21 09:34:32 UTC 2019
Hi,
On 01/18, Shayenne Moura wrote:
> This patch adds one test to evaluate suspend/resume operations using kms_flip.
>
> Signed-off-by: Shayenne Moura <shayenneluzmoura at gmail.com>
> ---
> tests/kms_flip.c | 1 +
> 1 file changed, 1 insertion(+)
> mode change 100644 => 100755 tests/kms_flip.c
>
> diff --git a/tests/kms_flip.c b/tests/kms_flip.c
> old mode 100644
> new mode 100755
> index f28272dd..3ca2fdfc
> --- a/tests/kms_flip.c
> +++ b/tests/kms_flip.c
> @@ -1567,6 +1567,7 @@ int main(int argc, char **argv)
> { 10, TEST_DPMS_OFF | TEST_DPMS | TEST_VBLANK_RACE, "dpms-vs-vblank-race" },
> { 10, TEST_MODESET | TEST_VBLANK_RACE, "modeset-vs-vblank-race" },
> { 0, TEST_BO_TOOBIG | TEST_NO_2X_OUTPUT, "bo-too-big" },
> + { 30, TEST_FLIP | TEST_SUSPEND, "flip-vs-suspend" },
I remember to follow a conversation in the IRC that you said that VKMS
pass this test. I tried it here on my VM, and after running the test my
system got freeze. My VM uses Arch Linux with Kernel 5.0.0-rc1. Did I
miss something?
Also, I tested it on my host machine with i915 driver and I noticed that
the test took much more than 30 seconds to finish. Is it right?
Thanks
Best Regards
> };
> int i;
>
> --
> 2.17.1
>
--
Rodrigo Siqueira
https://siqueira.tech
Graduate Student
Department of Computer Science
University of São Paulo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20190121/e1628cf9/attachment-0001.sig>
More information about the Intel-gfx
mailing list