Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bde1d8b2 authored by Chunming Zhou's avatar Chunming Zhou Committed by Alex Deucher
Browse files

drm/amdgpu: enable VCE soft reset

parent ac8e3f30
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 ||
	    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_DCE].hang) {
		DRM_INFO("Some block need full reset!\n");
+0 −3
Original line number Diff line number Diff line
@@ -601,9 +601,6 @@ static int vce_v3_0_check_soft_reset(void *handle)
	u32 srbm_soft_reset = 0;
	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
	 * SRBM_STATUS.VCE_BUSY bit for busy status checking.
	 * GRBM_GFX_INDEX.INSTANCE_INDEX is used to specify which VCE