提交 bde1d8b2 编写于 作者: C Chunming Zhou 提交者: Alex Deucher

drm/amdgpu: enable VCE soft reset

Signed-off-by: NChunming Zhou <David1.Zhou@amd.com>
Reviewed-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 ac8e3f30
...@@ -1977,7 +1977,6 @@ static bool amdgpu_need_full_reset(struct amdgpu_device *adev) ...@@ -1977,7 +1977,6 @@ static bool amdgpu_need_full_reset(struct amdgpu_device *adev)
{ {
if (adev->ip_block_status[AMD_IP_BLOCK_TYPE_GMC].hang || if (adev->ip_block_status[AMD_IP_BLOCK_TYPE_GMC].hang ||
adev->ip_block_status[AMD_IP_BLOCK_TYPE_SMC].hang || adev->ip_block_status[AMD_IP_BLOCK_TYPE_SMC].hang ||
adev->ip_block_status[AMD_IP_BLOCK_TYPE_VCE].hang ||
adev->ip_block_status[AMD_IP_BLOCK_TYPE_ACP].hang || adev->ip_block_status[AMD_IP_BLOCK_TYPE_ACP].hang ||
adev->ip_block_status[AMD_IP_BLOCK_TYPE_DCE].hang) { adev->ip_block_status[AMD_IP_BLOCK_TYPE_DCE].hang) {
DRM_INFO("Some block need full reset!\n"); DRM_INFO("Some block need full reset!\n");
......
...@@ -601,9 +601,6 @@ static int vce_v3_0_check_soft_reset(void *handle) ...@@ -601,9 +601,6 @@ static int vce_v3_0_check_soft_reset(void *handle)
u32 srbm_soft_reset = 0; u32 srbm_soft_reset = 0;
u32 tmp; u32 tmp;
/* VCE BUG: it is always busy, so skip its checking now */
return 0;
/* According to VCE team , we should use VCE_STATUS instead /* According to VCE team , we should use VCE_STATUS instead
* SRBM_STATUS.VCE_BUSY bit for busy status checking. * SRBM_STATUS.VCE_BUSY bit for busy status checking.
* GRBM_GFX_INDEX.INSTANCE_INDEX is used to specify which VCE * GRBM_GFX_INDEX.INSTANCE_INDEX is used to specify which VCE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册