drm/amdgpu: Enable uvd and vce gpu re-init for SRIOV gpu reset
authorFrank Min <Frank.Min@amd.com>
Thu, 15 Jun 2017 12:07:36 +0000 (20:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:45 +0000 (14:45 -0400)
commit257deb8cc654d365ae27948bb0a21abdbf3066ac
tree3fc30ca2db0164a0011f5b58ba7acb3571ed4345
parentab2b2e4f8b24b789eba2f95394210b644a6fcc44
drm/amdgpu: Enable uvd and vce gpu re-init for SRIOV gpu reset

Add uvd and vce re-init after gpu reset.

Signed-off-by: Frank Min <Frank.Min@amd.com>
Signed-off-by: Xiangliang.Yu <Xiangliang.Yu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c