[PATCH 00/12] Initial TMZ support for libdrm and amdgpu_test

Liu, Aaron Aaron.Liu at amd.com
Fri Nov 15 03:34:41 UTC 2019


These series of patches are to initial TMZ support for libdrm and amdgpu_test. They are based on amd-staging-hybrid-master20190125 branch. So far, gfx/sdma TMZ tests are passed on Raven.

Please review them.



Thanks,

Aaron

Aaron Liu (6):
  amdgpu: using IB flags for TMZ or non-TMZ
  tests/amdgpu: expand secure param for exec_cs_helper
  tests/amdgpu: add atomic_mem cp_packet to verify the secure buffer
  tests/amdgpu: add test to submit a gfx command with secure context
  tests/amdgpu: add atomic dma command to verify the secure buffer
  tests/amdgpu: add test to submit a sdma command with secure context

Huang Rui (6):
  amdgpu: add UAPI for creating encrypted buffers
  tests/amdgpu: add security test suite (v2)
  tests/amdgpu: add secure buffer allocation test for system memory
  tests/amdgpu: add secure buffer allocation test for invisible VRAM
  tests/amdgpu: expand write linear helper for security (v3)
  tests/amdgpu: add device handle as input param for exec_cs_helper and
    write_linear_helper (v4)

amdgpu/amdgpu.h               |   4 +-
amdgpu/amdgpu_cs.c            |   4 ++
include/drm/amdgpu_drm.h      |   5 ++
tests/amdgpu/amdgpu_test.c    |   7 ++
tests/amdgpu/amdgpu_test.h    |  27 +++++++
tests/amdgpu/basic_tests.c    | 161 ++++++++++++++++++++++++++++++++++++------
tests/amdgpu/meson.build      |   2 +-
tests/amdgpu/security_tests.c | 134 +++++++++++++++++++++++++++++++++++
8 files changed, 322 insertions(+), 22 deletions(-)
create mode 100644 tests/amdgpu/security_tests.c

BR,
Aaron Liu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20191115/4a847711/attachment.html>


More information about the amd-gfx mailing list