]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sriov: add ring_stop before ring_create in psp v11 code
authorJack Zhang <Jack.Zhang1@amd.com>
Tue, 10 Sep 2019 04:29:14 +0000 (12:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:11:28 +0000 (10:11 -0500)
commite14683bd60fe3e7c7757d3505f13393e29ce40fe
tree63288c67f70132736148b07abe6cc2d52452d528
parentd77d2de5f792680f7bb1ad7816b38030704766ba
drm/amdgpu/sriov: add ring_stop before ring_create in psp v11 code

psp  v11 code missed ring stop in ring create function(VMR)
while psp v3.1 code had the code. This will cause VM destroy1
fail and psp ring create fail.

For SIOV-VF, ring_stop should not be deleted in ring_create
function.

Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c