All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [RFC i-g-t 00/11] Introduce PXP Test
@ 2021-03-02 22:53 Alan Previn
  2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 01/11] Sync i915_drm.h UAPI for PXP Alan Previn
                   ` (12 more replies)
  0 siblings, 13 replies; 26+ messages in thread
From: Alan Previn @ 2021-03-02 22:53 UTC (permalink / raw)
  To: igt-dev; +Cc: Alan Previn

This series adds i915_pxp tests for the new PXP subsystem currently
being reviewed at https://patchwork.freedesktop.org/series/86798/ .
This series currently includes 3 groups of tests addressing the
features and restrictions described in Daniele's series above:

   1. test i915 interfaces for allocation of protected bo's
      and contexts and enforcement of UAPI rule disallowing the
      modification of parameters after it's been created.
   2. verify PXP subsystem protected sessions generate encrypted
      content on protected output buffers and decrypt protected
      inputs buffers.
   3. verify i915 PXP auto-teardown succeeds on suspend-resume
      cycles and gem-exec of stale protected assets fail.

This is still in RFC because the following tests are to be added:
   - verify teardown invalidates contexts via DRM_IOCTL_I915_GET_RESET_STAT.
   - test display plane decryption of protected buffers.
   - verify display plane blackout on stale buffers (post teardown).

Alan Previn (11):
  Sync i915_drm.h UAPI for PXP
  Add basic PXP testing of buffer and context alloc
  Add PXP attributes into lib batchbuffer and buffer structs
  Perform a regular 3d copy as a control checkpoint
  Add MI_SET_APPID instruction definition
  Enable protected session and protected buffers in rendercopy
  Add subtest to copy raw source to protected dest
  Add test where both src and dest are protected
  Add test to verify session key renewed after suspend-resume cycle
  Verify gem_execbuf fails with stale PXP context after teardown
  Verify gem_execbuf fails with stale PXP buffer after teardown

 include/drm-uapi/i915_drm.h |  94 +++-
 lib/intel_batchbuffer.c     |  12 +
 lib/intel_batchbuffer.h     |   9 +
 lib/intel_bufops.h          |   3 +
 lib/intel_reg.h             |   9 +
 lib/rendercopy_gen9.c       | 123 ++++-
 tests/Makefile.sources      |   3 +
 tests/i915/i915_pxp.c       | 991 ++++++++++++++++++++++++++++++++++++
 tests/meson.build           |   1 +
 9 files changed, 1237 insertions(+), 8 deletions(-)
 create mode 100644 tests/i915/i915_pxp.c

-- 
2.25.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2021-03-18 23:34 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02 22:53 [igt-dev] [RFC i-g-t 00/11] Introduce PXP Test Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 01/11] Sync i915_drm.h UAPI for PXP Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 02/11] Add basic PXP testing of buffer and context alloc Alan Previn
2021-03-03 23:41   ` Chris Wilson
2021-03-04 17:12     ` Teres Alexis, Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 03/11] Add PXP attributes into lib batchbuffer and buffer structs Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 04/11] Perform a regular 3d copy as a control checkpoint Alan Previn
2021-03-03 23:50   ` Chris Wilson
2021-03-04 17:14     ` Teres Alexis, Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 05/11] Add MI_SET_APPID instruction definition Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 06/11] Enable protected session and protected buffers in rendercopy Alan Previn
2021-03-03 23:55   ` Chris Wilson
2021-03-18 23:34     ` Teres Alexis, Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 07/11] Add subtest to copy raw source to protected dest Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 08/11] Add test where both src and dest are protected Alan Previn
2021-03-03 23:56   ` Chris Wilson
2021-03-04 17:32     ` Teres Alexis, Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 09/11] Add test to verify session key renewed after suspend-resume cycle Alan Previn
2021-03-03 23:59   ` Chris Wilson
2021-03-04 18:27     ` Teres Alexis, Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 10/11] Verify gem_execbuf fails with stale PXP context after teardown Alan Previn
2021-03-02 22:53 ` [igt-dev] [RFC i-g-t 11/11] Verify gem_execbuf fails with stale PXP buffer " Alan Previn
2021-03-04  0:01   ` Chris Wilson
2021-03-04 19:14     ` Teres Alexis, Alan Previn
2021-03-03 16:12 ` [igt-dev] ✓ Fi.CI.BAT: success for Introduce PXP Test Patchwork
2021-03-03 19:08 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.