Re: [i-g-t PATCH 2/2] igt/kms_flip: Fix set_dpms called with an idle bo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 01, 2016 at 12:58:46PM +0200, Abdiel Janulgue wrote:
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@xxxxxxxxxxxxxxx>
> ---
>  tests/kms_flip.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/kms_flip.c b/tests/kms_flip.c
> index 289335a..f744b3d 100644
> --- a/tests/kms_flip.c
> +++ b/tests/kms_flip.c
> @@ -757,9 +757,9 @@ static unsigned int run_test_step(struct test_output *o)
>  
>  	if (o->flags & TEST_DPMS) {
>  		if (spin_rcs)
> -			igt_spin_batch_end(spin_rcs);
> +			igt_spin_batch_set_timeout(spin_rcs, NSEC_PER_SEC);
>  		if (spin_bcs)
> -			igt_spin_batch_end(spin_bcs);
> +		        igt_spin_batch_set_timeout(spin_bcs, NSEC_PER_SEC);
>  		set_dpms(o, DRM_MODE_DPMS_ON);
>  	}

Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux