Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jouni Högander" <jouni.hogander@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Kunal Joshi <kunal1.joshi@intel.com>
Subject: [igt-dev] [PATCH i-g-t v9 0/4] Testcases for dirtyfb ioctl
Date: Thu, 24 Aug 2023 13:40:03 +0300	[thread overview]
Message-ID: <20230824104007.931922-1-jouni.hogander@intel.com> (raw)

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@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

             reply	other threads:[~2023-08-24 10:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 10:40 Jouni Högander [this message]
2023-08-24 10:40 ` [igt-dev] [PATCH i-g-t v9 1/4] lib/i915/fbc: Add fbc helpers Jouni Högander
2023-08-24 10:40 ` [igt-dev] [PATCH i-g-t v9 2/4] lib/i915/drrs: Add drrs helpers Jouni Högander
2023-08-24 10:40 ` [igt-dev] [PATCH i-g-t v9 3/4] tests/i915/kms_frontbuffer_tracking: Utilize added fbc and " Jouni Högander
2023-08-24 10:40 ` [igt-dev] [PATCH i-g-t v9 4/4] tests/kms_dirtyfb: Add new test for dirtyfb ioctl Jouni Högander
2023-08-24 11:49 ` [igt-dev] ✗ GitLab.Pipeline: warning for Testcases " Patchwork
2023-08-24 12:25 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-08-24 21:28 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-08-25  8:18 ` [igt-dev] ✗ GitLab.Pipeline: warning for Testcases for dirtyfb ioctl (rev2) Patchwork
2023-08-25  8:43 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-08-25  8:57 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-08-25 21:07 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-08-29  5:50   ` Hogander, Jouni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230824104007.931922-1-jouni.hogander@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kunal1.joshi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox