[v2 0/2] Add support to paint already mmaped buffer
Vandita Kulkarni
vandita.kulkarni at intel.com
Mon Mar 25 09:37:28 UTC 2024
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.
v2: merge patches 1 and 3 from v1 to patch 1, and fix review comments
Vandita Kulkarni (2):
lib/igt_draw: Dont mmap, if the buffer is already mmapped
tests/kms_async_flips: Reuse the already mmapped buffer
lib/igt_draw.c | 61 ++++++++++++++++----------
lib/igt_draw.h | 2 +-
tests/intel/kms_frontbuffer_tracking.c | 2 +-
tests/kms_async_flips.c | 16 +++++--
4 files changed, 52 insertions(+), 29 deletions(-)
--
2.43.2
More information about the igt-dev
mailing list