From patchwork Thu Mar 30 09:32:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oded Gabbay X-Patchwork-Id: 13193727 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 930FAC6FD1D for ; Thu, 30 Mar 2023 09:32:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9BDE210ED76; Thu, 30 Mar 2023 09:32:46 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9568F10ED71 for ; Thu, 30 Mar 2023 09:32:44 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0DA78B826C0 for ; Thu, 30 Mar 2023 09:32:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 313B3C433D2 for ; Thu, 30 Mar 2023 09:32:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680168758; bh=1XPsBKCGwfqHUITf3iK1bP7dShrfwNmlGnTEoQNoyvI=; h=From:To:Subject:Date:From; b=QfAWb51pMhY32/DH8CweI+3joPtylGfcILjZPepnNRNY/2QD2INX7PXfMobMNFiCQ oiPtQNyAQNYnklm6HX2dWzFCPWNfstdkVnMBixAaIkJ8+EhVWfnXRivY5iP+Acop30 HwiO7E5knBaK2Gq5ece0JdpnPHeXqHEfGVPrq5wQpWPYfgymTcYP5JUWYyE4QEf/kS ka9ntCnSdjwagjj3qSdvdSDgrie92wyVHe1ACXUV48XYOJ1+d3CXML5woLF0cL030Q gQmcMoELMdWXnPKaN5otckd4a9ZGDXKyHHCP+SCmQ8bXf3hMDKmHGAhCrq9kSP0w16 cVmdSVJi2IgFA== From: Oded Gabbay To: dri-devel@lists.freedesktop.org Subject: [PATCH] accel/habanalabs/uapi: new Gaudi2 server type Date: Thu, 30 Mar 2023 12:32:34 +0300 Message-Id: <20230330093234.1605251-1-ogabbay@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add definition of a new Gaudi2 server type. This represents the connectivity between the cards in that server type. Signed-off-by: Oded Gabbay Reviewed-by: Stanislaw Gruszka --- include/uapi/drm/habanalabs_accel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/drm/habanalabs_accel.h b/include/uapi/drm/habanalabs_accel.h index c139aab17c8a..d9ef1b151d04 100644 --- a/include/uapi/drm/habanalabs_accel.h +++ b/include/uapi/drm/habanalabs_accel.h @@ -708,7 +708,8 @@ enum hl_server_type { HL_SERVER_GAUDI_HLS1H = 2, HL_SERVER_GAUDI_TYPE1 = 3, HL_SERVER_GAUDI_TYPE2 = 4, - HL_SERVER_GAUDI2_HLS2 = 5 + HL_SERVER_GAUDI2_HLS2 = 5, + HL_SERVER_GAUDI2_TYPE1 = 7 }; /*