drm/amdgpu:don't invoke srio-gpu-reset in gpu-reset (v2)
authorMonk Liu <Monk.Liu@amd.com>
Fri, 5 May 2017 07:09:42 +0000 (15:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:37 +0000 (17:40 -0400)
commit4fbf87e2fe472110d8d3f66ffcbfb7fff911c191
treeeab083ec44c32ff47eef1c5983dee82802aff63d
parentbea396726d004df08a7d08972d5eeb792857c8bc
drm/amdgpu:don't invoke srio-gpu-reset in gpu-reset (v2)

because we don't want to do sriov-gpu-reset under certain
cases, so just split those two funtion and don't invoke
sr-iov one from bare-metal one.

V2:
remove debugfs_gpu_reset routine on SRIOV case.

Signed-off-by: Monk Liu <Monk.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_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c