[igt-dev] [PATCH i-g-t 2/6] tests/kms_async_flips: Render the bars full height
Karthik B S
karthik.b.s at intel.com
Thu Feb 9 14:11:27 UTC 2023
LTGM.
On 1/31/2023 5:36 PM, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Make the colored bars full height so that we can actually see
> the async flip activity on every scanline, as opposed to just
> being able to see it in the middle of the screen.
>
> Cc: Arun R Murthy <arun.r.murthy at intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
> ---
> tests/kms_async_flips.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
> index 89e431ac32e2..55be0bd874ad 100644
> --- a/tests/kms_async_flips.c
> +++ b/tests/kms_async_flips.c
> @@ -133,7 +133,7 @@ static void make_fb(data_t *data, struct igt_fb *fb,
> }
>
> cr = igt_get_cairo_ctx(data->drm_fd, fb);
> - igt_paint_color_rand(cr, rec_width * 2 + rec_width * index, height / 4, rec_width, height / 2);
> + igt_paint_color_rand(cr, rec_width * 2 + rec_width * index, 0, rec_width, height);
> igt_put_cairo_ctx(cr);
> }
>
More information about the igt-dev
mailing list