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

Jouni Högander jouni.hogander at intel.com
Thu Aug 24 10:40:03 UTC 2023


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.

v9:
 - Handle stolen memory not initialised
v8:
 - Add new style documentation
v7:
 - Split kms_frontbuffer_tracking changes into separate patch
 - Xe spinner changes already merged
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: Kunal Joshi <kunal1.joshi at intel.com>

Jouni Högander (4):
  lib/i915/fbc: Add fbc helpers
  lib/i915/drrs: Add drrs helpers
  tests/i915/kms_frontbuffer_tracking: Utilize added fbc and drrs
    helpers
  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                  |  97 ++++++++
 lib/i915/intel_fbc.h                  |  18 ++
 lib/meson.build                       |   2 +
 tests/i915/kms_dirtyfb.c              | 318 ++++++++++++++++++++++++++
 tests/i915/kms_frontbuffer_tracking.c | 141 ++----------
 tests/meson.build                     |   1 +
 8 files changed, 603 insertions(+), 124 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

-- 
2.34.1



More information about the igt-dev mailing list