[PATCH i-g-t 0/2 v2] Add mmap ptr draw method

Vandita Kulkarni vandita.kulkarni at intel.com
Thu Apr 11 17:03:10 UTC 2024


Add a new IGT_DRAW_MMAP_DRAW method, in case the tests wants
to pass already mmapped pointer.
This will help in reusing the already mmappped buffers.

Vandita Kulkarni (2):
  lib/igt_draw: Add support for writing onto already mmapped buffer
  tests/kms_async_flips: Reuse the already mmapped buffer

 lib/igt_draw.c                         | 37 ++++++++++++++++++++++++--
 lib/igt_draw.h                         | 10 ++++++-
 lib/igt_fb.h                           |  3 +++
 tests/intel/kms_frontbuffer_tracking.c |  2 +-
 tests/kms_async_flips.c                | 19 +++++++++----
 5 files changed, 62 insertions(+), 9 deletions(-)

-- 
2.43.2



More information about the igt-dev mailing list