[igt-dev] [PATCH i-g-t v6 0/4] Testcases for dirtyfb ioctl

Hogander, Jouni jouni.hogander at intel.com
Tue Aug 8 10:36:36 UTC 2023


On Thu, 2023-06-22 at 08:45 +0300, Jouni Högander wrote:
> This patchset is adding new testcases for dirtyfb ioctl with features
> like FBC, PSR and DRRS.
> 
> Also some helpers are split from kms_frontbuffer_tracking to be
> shared
> with a new testcases.

Theses patches are now merged. Thank you for reviews.

BR,

Jouni Högander

> 
> v6:
>  - Perform igt_display_reset in prepare
> v5:
>  - Modifications to support Xe as well
> v4:
>  - Document library interface functions
>  - Check connector type is eDP when PSR is tested
> v3:
>  - Use spinner
>  - Drop allocating big frambuffers
> v2:
>  - Move fbc and drrs into libigt
>  - Change testcase license comment
>  - Move disable_features and do not apply for FEATURE_DEFAULT
> 
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> 
> Jouni Högander (4):
>   tests/i915/kms_frontbuffer_tracking: Split fbc into library
>   tests/i915/kms_frontbuffer_tracking: Split drrs into library
>   lib/xe/xe_spin: Handle spinner timer for Xe as well
>   tests/kms_dirtyfb: Add new test for dirtyfb ioctl
> 
>  lib/i915/intel_drrs.c                 | 133 +++++++++++
>  lib/i915/intel_drrs.h                 |  17 ++
>  lib/i915/intel_fbc.c                  |  96 ++++++++
>  lib/i915/intel_fbc.h                  |  19 ++
>  lib/meson.build                       |   2 +
>  lib/xe/xe_spin.c                      |   8 +
>  tests/i915/kms_dirtyfb.c              | 303
> ++++++++++++++++++++++++++
>  tests/i915/kms_frontbuffer_tracking.c | 140 ++----------
>  tests/meson.build                     |   1 +
>  9 files changed, 596 insertions(+), 123 deletions(-)
>  create mode 100644 lib/i915/intel_drrs.c
>  create mode 100644 lib/i915/intel_drrs.h
>  create mode 100644 lib/i915/intel_fbc.c
>  create mode 100644 lib/i915/intel_fbc.h
>  create mode 100644 tests/i915/kms_dirtyfb.c
> 



More information about the igt-dev mailing list