Skip to content

Testcases for dirtyfb ioctl

Jouni Högander igt-dev 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest4 patches 1 replyIn review
  2. v84 patches 4 repliesSuperseded
  3. v74 patches 1 replySuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v64 patches5 repliesSuperseded
v54 patches0 repliesSuperseded
v43 patches0 repliesSuperseded
v33 patches2 repliesSuperseded
v23 patches0 repliesSuperseded
v13 patches4 repliesSuperseded

Changes in v9 from the cover letter

- Handle stolen memory not initialised

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/i915/fbc: Add fbc helperslib/i915/intel_fbc.c lib/i915/intel_fbc.h lib/meson.build+116 -00 replies
2/4lib/i915/drrs: Add drrs helperslib/i915/intel_drrs.c lib/i915/intel_drrs.h lib/meson.build+151 -00 replies
3/4tests/i915/kms_frontbuffer_tracking: Utilize added fbc and drrs helperstests/i915/kms_frontbuffer_tracking.c+17 -1240 replies
4/4tests/kms_dirtyfb: Add new test for dirtyfb ioctltests/i915/kms_dirtyfb.c tests/meson.build+319 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKunal Joshi
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

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

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 <[email protected]>

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
Signature · 1 line
2.34.1