Re: [RFT i-g-t] tests/prime_vgem/basic-fence-flip: Probe display resolution

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

 



Quoting Tvrtko Ursulin (2019-04-10 12:43:22)
> @@ -754,8 +768,8 @@ static void test_flip(int i915, int vgem, unsigned hang)
>                 uint32_t offsets[4] = {};
>                 int fd;
>  
> -               bo[i].width = 1024;
> -               bo[i].height = 768;
> +               bo[i].width = mode->hdisplay;
> +               bo[i].height = mode->vdisplay;
>                 bo[i].bpp = 32;
>                 vgem_create(vgem, &bo[i]);

That may not result in a buffer that we are able to flip to. :|
width = ALIGN(hdisplay, 16); vdisplay should be ok.

I would query what happened to the scalers though :)
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux