[Intel-gfx] [PATCH i-g-t] Revert "tests/kms_flip: Make flip-vs-panning-vs-hang change DSPSURF"

Daniel Vetter daniel at ffwll.ch
Thu Nov 9 10:43:04 UTC 2017


On Wed, Nov 08, 2017 at 02:26:31PM +0100, Maarten Lankhorst wrote:
> From: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> 
> This reverts commit 7296e09ee7f17e6d564e52cf64ee900670849429.
> This commit was accidentally applied twice, the first time in
> commit e4ba3b75e6de35483b2edea21ceda145ef0b3311.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

I thought I've Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch> this on
irc ...
-Daniel

> ---
>  tests/kms_flip.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/tests/kms_flip.c b/tests/kms_flip.c
> index acf4d99d22f9..4d5579e4e5bf 100644
> --- a/tests/kms_flip.c
> +++ b/tests/kms_flip.c
> @@ -833,10 +833,6 @@ static unsigned int run_test_step(struct test_output *o)
>  		if (o->flags & TEST_HANG)
>  			o->current_fb_id = !o->current_fb_id;
>  
> -		/* Make sure DSPSURF changes value */
> -		if (o->flags & TEST_HANG)
> -			o->current_fb_id = !o->current_fb_id;
> -
>  		igt_assert_f(set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0,
>  			     "failed to pan (%dx%d@%dHz)+%d: %s\n",
>  			     o->kmode[0].hdisplay, o->kmode[0].vdisplay, o->kmode[0].vrefresh,
> -- 
> 2.15.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list