[PATCH i-g-t 0/3] Add support to paint already mmaped buffer

Vandita Kulkarni vandita.kulkarni at intel.com
Fri Mar 15 06:11:39 UTC 2024


From: "Kulkarni, Vandita" <vandita.kulkarni at intel.com>

On some of the platforms first write after mmap takes longer time,
hence provide and option to just update the fb incase we are resuing
the mmaped fb.

Vandita Kulkarni (3):
  lib/igt_draw: Dont mmap, if the buffer is already mmapped
  tests/kms_async_flips: Reuse the already mmapped buffer
  tests/kms_frontbuffer_tracking: Align to new igt_draw_rect usage

 lib/igt_draw.c                         | 57 +++++++++++++++-----------
 lib/igt_draw.h                         |  2 +-
 tests/intel/kms_frontbuffer_tracking.c |  2 +-
 tests/kms_async_flips.c                | 16 ++++++--
 4 files changed, 47 insertions(+), 30 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list