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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E713C636D6 for ; Thu, 23 Feb 2023 12:50:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234251AbjBWMud (ORCPT ); Thu, 23 Feb 2023 07:50:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233622AbjBWMu3 (ORCPT ); Thu, 23 Feb 2023 07:50:29 -0500 Received: from CY4PR02CU007-vft-obe.outbound.protection.outlook.com (mail-westcentralusazon11011013.outbound.protection.outlook.com [40.93.199.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EB734C6DB for ; Thu, 23 Feb 2023 04:50:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iAKXN+SzXxgtuaabeAxi3JSOz6SPdffTAQRl2BqJAFOyvy9fljcGBmpeiZwc6kCiMKntlc3oF1bMvfV5x7H26V2Nod4coSL+pFIylVFFLKoDGWMh4bku79EHIx3+YjHC4pP4C3+XOzZ76qp1SCZtVnAaqzsb5rwZEUSeAILGxNJdTEcrwCRI07gOgZRC5FSUrF6ICMVVPMWbMPNZ6dTjnGhdLwEpcoBSBUI9RQgmZJciv4JZjVNcphqz9OlaDzqzPB7wLbr43kna9DRM6T0vBExeLZ2jjjXK9Eypj1kV5Y55kj8mDkupIKEG3BIrWkdtWstwDdrlXRClN+hNkcFxxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CsPzAL1zcUIWw122ZkVrzeZ1jOj8zPepyBkKLHhJw64=; b=eZMFadcq3RiGtJUh0F0cL1XTtx1wax65M2sF356If21sgk5tMbk6SxX6BifXKt0gg3GycMbTF1o4L2PQXLnZV4tKa/P/ixOt1tJJr8eadJ/U6e5fSdoT455jre2EE4rjF8Ufkot9HBNePM4fl/Q0v4Z2/H1t8J7CL9uSBtfodEOa9QJQaHCsbFezIkHA25F6K+RFyWryDIN+L1PtQ71K8MejR9c8CZj3cioAVKFZ2+Y+I6SPKMotsPrMshk5uwx7iQwiTbQFR92BFjYfVPqYoJvGXhnL0nSo5TqNdGtu2J8457yvZSSfVXlv613qk7mzHRLlgKqXTvP2cno2w2/kEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CsPzAL1zcUIWw122ZkVrzeZ1jOj8zPepyBkKLHhJw64=; b=ZaZgXEE29ZGgBUm5oXVo7Bl8Ztdt4tcwlx16DkWi9GiEwb0mk/jgzpPBT3J4MbYGGYAqbQh2L8b5eQ4M/NYhtPSImMLX4QvsnAe70BXwrBu8jM1bJxsRjAfFJLa5I6clkCor03HvV1FhyZ5CLyvkXzW3m1FBcH7YrQ9PUKPEL7Y= Received: from CH3PR05MB10206.namprd05.prod.outlook.com (2603:10b6:610:155::10) by SA1PR05MB8327.namprd05.prod.outlook.com (2603:10b6:806:1d2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.21; Thu, 23 Feb 2023 12:50:24 +0000 Received: from CH3PR05MB10206.namprd05.prod.outlook.com ([fe80::ad2d:cb08:253b:26e7]) by CH3PR05MB10206.namprd05.prod.outlook.com ([fe80::ad2d:cb08:253b:26e7%8]) with mapi id 15.20.6111.021; Thu, 23 Feb 2023 12:50:24 +0000 From: Zack Rusin To: "tangmeng@uniontech.com" , "daniel@ffwll.ch" , "dri-devel@lists.freedesktop.org" , Linux-graphics-maintainer , "airlied@gmail.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] drm/vmwgfx: Work around VMW_ALLOC_DMABUF Thread-Topic: [PATCH v2] drm/vmwgfx: Work around VMW_ALLOC_DMABUF Thread-Index: AQHZR1Unjoj41030h0yn+mDWgyFFg67cfB+A Date: Thu, 23 Feb 2023 12:50:24 +0000 Message-ID: References: <20230223070405.20228-1-tangmeng@uniontech.com> In-Reply-To: <20230223070405.20228-1-tangmeng@uniontech.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.46.3-1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR05MB10206:EE_|SA1PR05MB8327:EE_ x-ms-office365-filtering-correlation-id: 82ab2df5-01d1-47a9-4c26-08db159c87d2 x-ld-processed: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VgZ5YizddEhBweN9Kpppoo3jKXc9FHTn3pD0vYuBGTjVoG3bbmzBJSlVRo8EzpDW4Rh00VAX+i+/hJef9qcCMFlL8HXnG5ySAcIaW1eOtNACPojzDhIoqeA6SUPjMudxPshulOIUe4Rw9iAepYLTDjo5te5v0aycHPqGY4E0B3i6OnpT+GdIUbSFFKEX80bp0kTSQ5WbS1jMvnxkAWmOtJ4v/sxQdRnz6UcU6SdOtCe/OP6Q3X8bPrLnVCy5rO4WycUTQ8uL5qy1IsYucG9cC+OD+i7Pdoi1oCZ9YAYukt55Vif9xwhAfAVwFVNTfscc/rQLNl+6LCvh2XtWXpbsa8i12ORgV5Tr/dg14pwsf3vI20OSi+USWe7n9eiiYGdqdjBrZLU3PVuHpifuH1FDxa1ThYw1z9wry42oSbL7n56Of5H6dTB6E/miJ2IBj2OJkPW2Tor7wW90pUjfiZTcJNBZXJsTVx7SskrONWnTi1sccXl7b9LoVD/4ANZQjaofixX5DA+OgLucN8krUkRthvBFyA+nOFKfxNiTCQjG2d3HfhQY9njDPUNlDyNLUCwZbyYmIla3fW7W7bXljCSULpt4PkiOoeHJKv8a6aC+aLs1U1ncirRsRA/p9gA09iRdEuDPiTYBuU1AZDWtakaNUKIAPBW9x7xuSKlit7ybY1EOafCkCmZ22Sam9bFsjwOw1gT+7TT2jlu1noCZgQJWyoIgIvZAYgrf985PkeodMiH1+gkiITvlLtaX98YX1uSY x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR05MB10206.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(376002)(396003)(136003)(39860400002)(366004)(346002)(451199018)(26005)(186003)(38070700005)(316002)(41300700001)(76116006)(91956017)(64756008)(66446008)(66476007)(66556008)(8676002)(66946007)(71200400001)(6486002)(110136005)(6512007)(6506007)(478600001)(86362001)(36756003)(2906002)(83380400001)(38100700002)(8936002)(2616005)(122000001)(5660300002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NG8vdUhRTVN6b1N4OXdZb2pVS0ZEcnFGRDFaaFBrTUFURFNIeHgra3dSd0Ur?= =?utf-8?B?akJvdTZQcHUrMkU5UlhkODZqTlNoWlE5bzdkSWFSVi9kMGVEMXNHY0xtcXM4?= =?utf-8?B?T2V1R2I0U21UQnlVdTJmY1pyV1IxZTBoMTkvdWwzZG1tS0ZwcmUyVndvUWZF?= =?utf-8?B?M0ZhTEY2QVNX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9YVHhmYnUrNU8vS09r?= =?utf-8?B?K0hPQktOY0htWC9IbzIrZ0dwSDBGcmg3eUdNcGxPQnJkN2lwTjZwc3Fhakpo?= =?utf-8?B?N1BLYWd3dTgzMjJEVElRem1udE8rbGY1TlpEK3VNbDEyNzZ2MEM0QjBjeVA4?= =?utf-8?Q?Rb/51UKSTNXPFi4TlEhDlSCmO?= Content-Type: text/plain; charset="utf-8" Content-ID: <18637A409CC30B499C6ABC3534F11CB4@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR05MB10206.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 82ab2df5-01d1-47a9-4c26-08db159c87d2 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2023 12:50:24.0532 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: I8DumwAWFx0uVoTqDw1Ypifys0dbujvXKk+aZ/xWPWERRWK0MydSzhs3np0wi8wTKuQJkBORwvWiuy094PJgWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8327 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIzLTAyLTIzIGF0IDE1OjA0ICswODAwLCBNZW5nIFRhbmcgd3JvdGU6DQo+IEEg cHJpdmlsZWdlIGVzY2FsYXRpb24gdnVsbmVyYWJpbGl0eSB3YXMgZm91bmQgaW4gdm13Z2Z4IGRy aXZlcg0KPiBpbiBkcml2ZXJzL2dwdS9kcm0vdm13Z2Z4L3Ztd2dmeF9kcnYuYyBpbiBHUFUgY29t cG9uZW50IG9mIExpbnV4DQo+IGtlcm5lbCB3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