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

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Mar 19 13:08:58 UTC 2024


On Fri, Mar 15, 2024 at 11:41:39AM +0530, Vandita Kulkarni wrote:
> 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
> 

First of all, try to not break compilation chain with each patch.

You may check this using:

git rebase -i origin/master --exec ./meson.sh

--
Zbigniew


More information about the igt-dev mailing list