]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: check ring type for secure IBs
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Apr 2020 20:45:10 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:30 +0000 (16:20 -0400)
commitbc131a5df16d1d08ea1324da38fc0107fca08b36
treeadcae3c2502d3945f7b862785ea4055e7b597bd5
parent3c66e8d491caf3c11e0c1d5ee4c7650e382765ab
drm/amdgpu: check ring type for secure IBs

We don't support secure operation on compute rings at the
moment so reject them.

Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c