OSDN Git Service

drm/amdgpu: Bypass GMC/UVD/VCE hw_fini in SR-IOV
authorTrigger Huang <trigger.huang@amd.com>
Wed, 26 Apr 2017 06:29:47 +0000 (02:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:20 +0000 (17:40 -0400)
commit5dd696ae5d648b412a29b314c50e5dcf65829b9d
treedf336dde7e4f94b2c72ff3d92aa41a5099527693
parent2cb681b6e4e317068153e217948d471f3117baee
drm/amdgpu: Bypass GMC/UVD/VCE hw_fini in SR-IOV

On vega10, some hw finish operations should not be applied in SR-IOV
case. This works as workaround to fix multi-VFs reboot/shutdown
issues.

Signed-off-by: Trigger Huang <trigger.huang@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c