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)
commitb33f9d70b36889abafec3b638925640ac7c7fe12
treeadcae3c2502d3945f7b862785ea4055e7b597bd5
parentb717fa5cb1a1aae9ea744a3b61e9d9aa1d258c9c
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