[i-g-t,1/3] i915/gem_exec_fence: KMS master is not required
diff mbox series

Message ID 20191108142250.22709-1-chris@chris-wilson.co.uk
State New
Headers show
Series
  • [i-g-t,1/3] i915/gem_exec_fence: KMS master is not required
Related show

Commit Message

Chris Wilson Nov. 8, 2019, 2:22 p.m. UTC
Within this set of fence execution tests, we never once try to modeset;
being KMS master is not required.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/i915/gem_exec_fence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tvrtko Ursulin Nov. 13, 2019, 10:47 a.m. UTC | #1
On 08/11/2019 14:22, Chris Wilson wrote:
> Within this set of fence execution tests, we never once try to modeset;
> being KMS master is not required.
> 
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
>   tests/i915/gem_exec_fence.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c
> index 3657c4b27..d2d26a28b 100644
> --- a/tests/i915/gem_exec_fence.c
> +++ b/tests/i915/gem_exec_fence.c
> @@ -1513,7 +1513,7 @@ igt_main
>   	int i915 = -1;
>   
>   	igt_fixture {
> -		i915 = drm_open_driver_master(DRIVER_INTEL);
> +		i915 = drm_open_driver(DRIVER_INTEL);
>   		igt_require_gem(i915);
>   		igt_require(gem_has_exec_fence(i915));
>   		gem_require_mmap_wc(i915);
> 

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

Regards,

Tvrtko

Patch
diff mbox series

diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c
index 3657c4b27..d2d26a28b 100644
--- a/tests/i915/gem_exec_fence.c
+++ b/tests/i915/gem_exec_fence.c
@@ -1513,7 +1513,7 @@  igt_main
 	int i915 = -1;
 
 	igt_fixture {
-		i915 = drm_open_driver_master(DRIVER_INTEL);
+		i915 = drm_open_driver(DRIVER_INTEL);
 		igt_require_gem(i915);
 		igt_require(gem_has_exec_fence(i915));
 		gem_require_mmap_wc(i915);