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

Commit b3dae782 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/cz: enable/disable vce dpm even if vce pg is disabled



I missed this when cleaning up the vce pg handling.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9cac5373
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2226,10 +2226,8 @@ static void cz_dpm_powergate_vce(struct amdgpu_device *adev, bool gate)
		}
	} else { /*pi->caps_vce_pg*/
		cz_update_vce_dpm(adev);
		cz_enable_vce_dpm(adev, true);
		cz_enable_vce_dpm(adev, !gate);
	}

	return;
}

const struct amd_ip_funcs cz_dpm_ip_funcs = {