tests/amdgpu: expand write linear helper for security (v3)
authorHuang Rui <ray.huang@amd.com>
Fri, 16 Aug 2019 09:07:07 +0000 (17:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Oct 2020 17:46:05 +0000 (13:46 -0400)
commit76ceb8b80649572cd8dffd06da14da8588246e84
treee8f0ab87063ff1db29a829884d0cdaaeb0281e05
parentcfe55a0451b554138d96e741a703135f9004de1b
tests/amdgpu: expand write linear helper for security (v3)

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>
tests/amdgpu/amdgpu_test.h
tests/amdgpu/basic_tests.c