drm/amdgpu/sriov: For finishing routine send rel event after init failed
authorEmily Deng <Emily.Deng@amd.com>
Fri, 4 Jan 2019 02:24:02 +0000 (10:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:50 +0000 (15:04 -0500)
commit72d3f59205ffae6827b4af525a7963f181322e35
treecee99d0080bf599260b6086f2c8c443b4b9251d9
parent66f92bcff0f90405150f685e4ef78fd548275f10
drm/amdgpu/sriov: For finishing routine send rel event after init failed

When init fail, send rel init, req_fini and rel_fini to host for the
finishing routine.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c