[PATCH i-g-t 3/3] tests/kms_frontbuffer_tracking: Align to new igt_draw_rect usage
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Tue Mar 19 13:25:57 UTC 2024
On Fri, Mar 15, 2024 at 11:41:42AM +0530, Vandita Kulkarni wrote:
> Pass NULL as we dont have any mmaped buffers
>
> Signed-off-by: Vandita Kulkarni <vandita.kulkarni at intel.com>
> ---
> tests/intel/kms_frontbuffer_tracking.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
> index db2db0ff1..392539408 100644
> --- a/tests/intel/kms_frontbuffer_tracking.c
> +++ b/tests/intel/kms_frontbuffer_tracking.c
> @@ -2254,7 +2254,7 @@ static void *busy_thread_func(void *data)
> {
> while (!busy_thread.stop)
> igt_draw_rect(drm.fd, drm.bops, 0, busy_thread.handle,
> - busy_thread.size, busy_thread.stride,
> + busy_thread.size, busy_thread.stride, NULL,
> busy_thread.width, busy_thread.height,
> busy_thread.tiling, IGT_DRAW_BLT, 0, 0,
> busy_thread.width, busy_thread.height,
> --
> 2.34.1
>
Likely requires squeezing where you introduce this field to the
igt_draw_rect(). Anyway code is correct.
--
Zbigniew
More information about the igt-dev
mailing list