- 06 Nov, 2020 1 commit
-
-
Thong Thai authored
Signed-off-by:
Thong Thai <thong.thai@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 04 Nov, 2020 1 commit
-
-
Dave Airlie authored
Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 28 Oct, 2020 1 commit
-
-
Lucas Stach authored
This makes the test utilities work with the i.MX DCSS driver without the necessity of using the -M argument. Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
- 27 Oct, 2020 1 commit
-
-
Paul Gofman authored
log() is affected by FP control word and can provide inaccurate result. Fixes Killer Instinct under Wine not being able to find AMD vulkan device. Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Paul Gofman <pgofman@codeweavers.com>
-
- 23 Oct, 2020 1 commit
-
-
tianci.yin authored
If KMD has no VCN support, remove the VCN test. Reviewed-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Tianci.Yin <tianci.yin@amd.com>
-
- 16 Oct, 2020 1 commit
-
-
Carsten Haitzler authored
komeda is one of the supported GPUs in the kernel tree so this adds it to libdrm modules to look for in tests. Signed-off-by:
Carsten Haitzler <carsten.haitzler@arm.com>
-
- 15 Oct, 2020 22 commits
-
-
Alex Deucher authored
It's the only asic with support at the moment. Acked-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Luben Tuikov authored
Implement secure bounce test. Steps implemented as outlined by Christian K. v2: Remove gpu_info; add comment describing the purpose and steps of the test. v3: Parameterize "secure" in amdgpu_bo_lcopy() and amdgpu_bo_move(). Set them both to 0. Allocate buffer Bob to be non-TMZ. v4: Fix an off-by-one bug which was causing the test to segfault. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Luben Tuikov <luben.tuikov@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Luben Tuikov authored
Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Luben Tuikov <luben.tuikov@amd.com> Reviewed-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Aaron Liu authored
This patch enables security suite tests. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Aaron Liu authored
Adding drm version checking for security suite. drm version need to be at least 3.37. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Aaron Liu authored
This patch add test to submit a sdma command with secure context. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Aaron Liu authored
DMA's atomic behavir is unlike GFX,If the comparing data is not equal to destination data, For GFX, loop again till gfx timeout(system hang). For DMA, loop again till timer expired and then send interrupt. So testcase can't use interrupt mechanism. We take another way to verify. When the comparing data is not equal to destination data, overwrite the source data to the destination buffer. Otherwise, original destination data unchanged. So if the bo_cpu data is overwritten, the result is passed. Steps: 1. use linear write packet to write 0xdeadbeaf to secure buffer, 2. use atmoic packet and ATOMIC_CMPSWAP_RTN_32 opcode to compare the cmp_data(0xdeadbeaf) to the written data which has been encrypted. v2: add the case of (dest_data != cmp_data). Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Aaron Liu authored
This patch is to test the command submission with secure context. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Aaron Liu authored
Secure buffer is only able to be read with trusted ip block. So we need use GFX ip to read it back instead of CPU. Steps: 1. use write_data packet to write 0xdeadbeaf to secure buffer, 2. use atmoic_mem packet and ATOMIC_CMPSWAP_RTN_32 opcode to compare the cmp_data(0xdeadbeaf) to the written data which has been encrypted. If the result is equal, then overwrite the src_data(0x12345678) to the secure buffer and return directly. Otherwise loop again until gfx timeout and the secure buffer data unchanged. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Reviewed-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Aaron Liu authored
This patch expands secure param for amdgpu_test_exec_cs_helper_raw. The flag is transfered to kernel with cs. v2: squash in change from context to IB flag Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Acked-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Huang Rui authored
This patch is to add add device handle as input param for exec_cs_helper and write_linear_helper. Because they are needed in security tests. v2: fix typo that basic tests should be un-secure. v3: refine the function implementation. v4: remove amdgpu_cs_ctx_create3 calling. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Huang Rui authored
This patch expand write linear helper for security to submit the command with secure context. v2: refine the function implementation. v3: remove amdgpu_cs_ctx_create3. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Huang Rui authored
This patch is to add secure buffer allocation test for invisible VRAM. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Huang Rui <ray.huang@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Huang Rui authored
This patch is to add secure buffer allocation test for system memory. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Huang Rui <ray.huang@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Huang Rui authored
This patch is to add a new test suite to store security tests. In Raven+ asics, it will support TMZ (trust memory zone), and it is page-based protection feature. v2: remove tests/amdgpu/Makefile.am and update to tests/amdgpu/meson.build Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Aaron Liu <aaron.liu@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> Acked-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Alex Deucher authored
From drm-next: commit c41219fda6e04255c44d37fd2c0d898c1c46abf1 Merge: e20bb857dea2 d96536f0fe69 Author: Dave Airlie <airlied@redhat.com> Date: Thu May 21 10:44:32 2020 +1000 Merge tag 'drm-intel-next-fixes-2020-05-20' of git://anongit.freedesktop.org/drm/drm-intel into drm-next Fix for TypeC power domain toggling on resets (Cc: stable). Two compile time warning fixes. Signed-off-by:
Dave Airlie <airlied@redhat.com> From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200520123227.GA21104@jlahtine-desk.ger.corp.intel.comAcked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
lema1 authored
Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Le Ma <le.ma@amd.com> Reviewed-by:
Evan Quan <evan.quan@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
lema1 authored
Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Le Ma <le.ma@amd.com> Reviewed-by:
Evan Quan <evan.quan@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
James Zhu authored
Add Arcturus decode test support only Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
James Zhu <James.Zhu@amd.com> Reviewed-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
lema1 authored
Since Arcturus has no gfx pipeline(CPG), cases below is not suitable: - Command submission Test (GFX) - Command submission Test (Multi-Fence) - Sync dependency Test Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Le Ma <le.ma@amd.com> Reviewed-by:
Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
lema1 authored
Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Le Ma <le.ma@amd.com> Reviewed-by:
Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
lema1 authored
Since Arcturus has no gfx engine, add function to blacklist gfx related test. Acked-by:
Huang Rui <ray.huang@amd.com> Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Le Ma <le.ma@amd.com> Reviewed-by:
Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 05 Oct, 2020 1 commit
-
-
Alex Deucher authored
Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 30 Sep, 2020 1 commit
-
-
Tapani Pälli authored
This enables drm_intel_bufmgr on DG1 and allows us to pass dmabuf import/export related tests with Piglit. Signed-off-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Lucas De Marchi <lucas.demarchi@intel.com>
-
- 03 Sep, 2020 1 commit
-
-
sitanliu authored
-
- 27 Aug, 2020 2 commits
-
-
Adam Miszczak authored
Add DG1 and clean-up VLV PCI IDs. Align with kernel commits: f2bde2546b81 ("drm/i915: Remove dubious Valleyview PCI IDs") fd38cdb81105 ("drm/i915/dg1: Add DG1 PCI IDs") Signed-off-by:
Adam Miszczak <adam.miszczak@intel.com> Reviewed-by:
José Roberto de Souza <jose.souza@intel.com>
-
Jeremy Cline authored
Point users to the GitLab issue tracker instead of Bugzilla, which is no longer used. Signed-off-by:
Jeremy Cline <jcline@redhat.com>
-
- 21 Aug, 2020 1 commit
-
-
sunil kumar dora sermsity authored
Missing RKL PCI ID preventing below test cases to succeed on RKL Platform. igt@kms_frontbuffer_tracking igt@kms_draw-crc igt@kms_big_fb Signed-off-by:
sunil kumar dora sermsity <sunilx.kumar.dora.sermsity@intel.com> Reviewed-by:
Matt Roper <matthew.d.roper@intel.com>
-
- 20 Aug, 2020 1 commit
-
-
pavan kumar ramayanam authored
Acked-by:
Leo Liu <leo.liu@amd.com> Signed-off-by:
Pavan Kumar Ramayanam <pavan.ramayanam@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 08 Jul, 2020 1 commit
-
-
José Roberto de Souza authored
Two new patches landed in kernel adding new PCI ids: 123f62de419f ("drm/i915/rkl: Add RKL platform info and PCI ids") 52797a8e8529 ("drm/i915/ehl: Add new PCI ids") Cc: Matt Roper <matthew.d.roper@intel.com> Signed-off-by:
José Roberto de Souza <jose.souza@intel.com>
-
- 18 Jun, 2020 3 commits
-
-
Leo Liu authored
This is workaround of firmware issue, and the change has no impact on the legacy HW. Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Thong Thai <thong.thai@amd.com> Reviewed-by:
James Zhu <James.Zhu@amd.com>
-
Leo Liu authored
It is not used for VCN from VCN1, but VCN3 use it for other feature, so clear it, because we don't use the feature for now Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Thong Thai <thong.thai@amd.com> Reviewed-by:
James Zhu <James.Zhu@amd.com>
-
Leo Liu authored
VCN3.0 has its own set of internal regs Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Thong Thai <thong.thai@amd.com> Reviewed-by:
James Zhu <James.Zhu@amd.com>
-
- 06 Jun, 2020 1 commit
-
-
Heiko Thiery authored
./xf86drm.c: In function 'drmNodeIsDRM': ../xf86drm.c:2825:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ ../xf86drm.c: In function 'drmGetMinorNameForFD': ../xf86drm.c:2938:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ ../xf86drm.c: In function 'drmParsePciBusInfo': ../xf86drm.c:3258:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ ../xf86drm.c: In function 'drmParsePciDeviceInfo': ../xf86drm.c:3427:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ ../xf86drm.c: In function 'drmGetDeviceNameFromFd2': ../xf86drm.c:4305:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ Signed-off-by:
Heiko Thiery <heiko.thiery@gmail.com>
-