[v4 0/3] Add support to paint already mmaped buffer
Vandita Kulkarni
vandita.kulkarni at intel.com
Tue Mar 26 14:14:19 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
v3: Fixed assert on cpu and gtt draw methods
v4: Fix cases of render draw method
Vandita Kulkarni (3):
lib/igt_draw: Dont mmap, if the buffer is already mmapped
lib/igt_draw: Sanitize the buffer data in the beginning
tests/kms_async_flips: Reuse the already mmapped buffer
lib/igt_draw.c | 64 ++++++++++++++++----------
lib/igt_draw.h | 2 +-
tests/intel/kms_frontbuffer_tracking.c | 2 +-
tests/kms_async_flips.c | 16 +++++--
4 files changed, 54 insertions(+), 30 deletions(-)
--
2.43.2
More information about the igt-dev
mailing list