[igt-dev] [PATCH i-g-t 4/4] tests: Use igt_device_set/drop_master

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 28 17:53:42 UTC 2019


Quoting Daniel Vetter (2019-02-28 17:17:23)
> Suggested by Chris.
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  tests/core_setmaster_vs_auth.c |  6 ++++--
>  tests/kms_flip_event_leak.c    | 10 ++++------
>  tests/kms_lease.c              | 11 ++++++-----
>  3 files changed, 14 insertions(+), 13 deletions(-)
> 
> diff --git a/tests/core_setmaster_vs_auth.c b/tests/core_setmaster_vs_auth.c
> index c335ddff3a2d..f9e97c7a57ef 100644
> --- a/tests/core_setmaster_vs_auth.c
> +++ b/tests/core_setmaster_vs_auth.c
> @@ -39,6 +39,8 @@
>  #include <stdio.h>
>  #include <string.h>
>  
> +#include <igt_device.h>

"igt_device.h" for a local header?

Conversions look fine otherwise.

With "",
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list