From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22594C433E0 for ; Tue, 19 May 2020 16:33:18 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id ED92B20873 for ; Tue, 19 May 2020 16:33:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="lp/dAYwD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED92B20873 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 086796E362; Tue, 19 May 2020 16:33:17 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2E8496E35D for ; Tue, 19 May 2020 16:33:15 +0000 (UTC) Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 749FF20826; Tue, 19 May 2020 16:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589905995; bh=eZ1bHq1CoG5hjqUOKxdZChtO/EqOip0Cz6ip1fVxHZY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lp/dAYwDKiIcHHjB6thsH9YaDjZ13tYqeQtGPyL5YPXKrHM0hLWXZtW+7WTe/ryr1 LBE6gwdv60kTj30t1CrmWuB7WqdCSVzJBPARRur4jpQCE10IGwhvSsZe5wb6tYZV/o B//kvRikCGtf4AtGzcRJvOVMKJoq+cSGhGMCtoYI= From: Sasha Levin To: alexander.deucher@amd.com, chris@chris-wilson.co.uk, ville.syrjala@linux.intel.com, Hawking.Zhang@amd.com, tvrtko.ursulin@intel.com Subject: [RFC PATCH 3/4] Drivers: hv: vmbus: hook up dxgkrnl Date: Tue, 19 May 2020 12:32:33 -0400 Message-Id: <20200519163234.226513-4-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200519163234.226513-1-sashal@kernel.org> References: <20200519163234.226513-1-sashal@kernel.org> 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: , Cc: Sasha Levin , linux-hyperv@vger.kernel.org, sthemmin@microsoft.com, gregkh@linuxfoundation.org, haiyangz@microsoft.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, spronovo@microsoft.com, wei.liu@kernel.org, linux-fbdev@vger.kernel.org, iourit@microsoft.com, kys@microsoft.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Register a new device type with vmbus. Signed-off-by: Sasha Levin --- include/linux/hyperv.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 692c89ccf5df..ad16e9bc676a 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1352,6 +1352,22 @@ void vmbus_free_mmio(resource_size_t start, resource_size_t size); .guid = GUID_INIT(0xda0a7802, 0xe377, 0x4aac, 0x8e, 0x77, \ 0x05, 0x58, 0xeb, 0x10, 0x73, 0xf8) +/* + * GPU paravirtualization global DXGK channel + * {DDE9CBC0-5060-4436-9448-EA1254A5D177} + */ +#define HV_GPUP_DXGK_GLOBAL_GUID \ + .guid = GUID_INIT(0xdde9cbc0, 0x5060, 0x4436, 0x94, 0x48, \ + 0xea, 0x12, 0x54, 0xa5, 0xd1, 0x77) + +/* + * GPU paravirtualization per virtual GPU DXGK channel + * {6E382D18-3336-4F4B-ACC4-2B7703D4DF4A} + */ +#define HV_GPUP_DXGK_VGPU_GUID \ + .guid = GUID_INIT(0x6e382d18, 0x3336, 0x4f4b, 0xac, 0xc4, \ + 0x2b, 0x77, 0x3, 0xd4, 0xdf, 0x4a) + /* * Synthetic FC GUID * {2f9bcc4a-0069-4af3-b76b-6fd0be528cda} -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel