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 E985DC61DA4 for ; Fri, 24 Feb 2023 03:38:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229485AbjBXDiP (ORCPT ); Thu, 23 Feb 2023 22:38:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjBXDiN (ORCPT ); Thu, 23 Feb 2023 22:38:13 -0500 Received: from CO1PR02CU002-vft-obe.outbound.protection.outlook.com (mail-westus2azon11010005.outbound.protection.outlook.com [52.101.46.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 509A413DC9 for ; Thu, 23 Feb 2023 19:38:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R3MkTZvJ/X09v1BBxi0Ue+EuKVZMyy/SKuk3WxHHin/faNA1n0C5KFahtOki6N5DK/iUuQS8JDdUg4H4mn4Zr/dDsXcsYiwOcN5Y0+qjGC3zGGWGeW05++un2IqFSJfjFFLdReWJIdg8zQ/ew1/GkCrKuC5NRcRQwjMtWohmEEJuwDzA1TrPWgEBKFAuO+KRTzlwoGiWt152pYBnPin7NT9oTzcNjw0AYqMARE09UQU1XBmjS74N84JRztI/6YoD8o+21YxVp3tF8LHzzP096k0vZV5oPIgXxwMveEkV9uIvw7ttaiBRZ6TH7O3OmQUv3rBtuSulzLU+Y0Sss5gKlg== 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=GLOaZicxtkxKkBYLUyijVgPCiC/dx0j/+i64ocnGf9g=; b=O765vDmbRTDNnPrHpbQQjgv3de69Kpwq5cp3MGgjC3meGdwCJiTnFdTuiFU6ZH7rnqQ0SXXKpTqkU071zz+6k10864ETL7TdKNVAJejET5ig8jLr56ug4oVId3s8Jqboz34oTUg/N6Hrf6C8acpOa/xn3CYKuOcxk6Wm6xlxp5WluiTUYa5c0HAEw+nuPNfZ69VdF8sShOImYMtf2hdhG35++oRlQSHFWb6BP0Wky+5drVIJHyrZYGZEh4mi0lE5L3oKxAjwHsC6pVVEvOT+xH5+4Psn4bMzYrmBsZ0185Y3d8WSZoxUKeTMX2aGaHFPfgSBTefcpHCbugiC/xWPFQ== 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=GLOaZicxtkxKkBYLUyijVgPCiC/dx0j/+i64ocnGf9g=; b=dvw889gOdb5zclEdWyHThfjZAZO/QO9kQJW1/5DqbZpt9UAR69Xrn0tCr/Cpf5xSuTlAML+hN08a7Hf/xJDoT/RAAuGhdOTVlqcOBRKA/j2W1hSR3TO5MTU5K/w894W2aKIyshj7QPNvPXjp7DpP752BiK2eGUlfNe7EyJtaukQ= Received: from CH3PR05MB10206.namprd05.prod.outlook.com (2603:10b6:610:155::10) by BN7PR05MB4577.namprd05.prod.outlook.com (2603:10b6:406:f8::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.19; Fri, 24 Feb 2023 03:38:04 +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.6134.024; Fri, 24 Feb 2023 03:38:03 +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+AgADptICAAAdYAIAABJoAgAACWwA= Date: Fri, 24 Feb 2023 03:38:03 +0000 Message-ID: <7c0691dd62f58cffb42fbfb32eedc742038a2de0.camel@vmware.com> References: <20230223070405.20228-1-tangmeng@uniontech.com> <113C6E516C95FA38+f2633fe9-fb5a-616e-0e35-7559750544c9@uniontech.com> <2bc1750b4c3ebebf84c106b903178e5236dc396e.camel@vmware.com> In-Reply-To: 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_|BN7PR05MB4577:EE_ x-ms-office365-filtering-correlation-id: 7f7f2321-f849-4130-abba-08db161888f3 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: R8Dig+8Its00Fb6ToKLL/7FFe1eG2t5WWfeDi1QRh+JO3pKQjo0ZivJi+AH2XxdUJyOUhbjxlgXZouGzpuCgcEnPZxnssYGSJcLhMkw1c1mRSahkPazZcNIqrfU8f6gndUVfPnO9V+K7Cez4b/ed45EX96BHBMD7rIgmLRLxVtE39O6PK0h2WuDco+4RZR2Vbk2iZlgFAK8FwfomOHs0CrwvE30iF0h1wKLzJjJQbd30XlJXAerWljpGmdkRdqUdtIhZ8e8lOSltbSW/Y2oSxgH0DwxwT9536usiOJiJIIAm3MJCkkJID9oLJ0INEpTn5dlKewBJfM0GZuN61zovU3tZxX9PgBQTsER/nQr03Yjd+Fp/z/U0EJ5kEXuX0DpxS+y/dkiSCcrO6jQeGCcAcXLenSzcXjrOi1cnOd3qKJvW9sESS8zldZfuUqVKbOeuq16Bu7xZnYRjb6LnEFvbfL3qnVSpEjO7SycLxsm9pXp01kT3CpiSwBioBwQ0/x19CkmWpb9ivCHmlZPp4OkgrL8dTBcotL/j11+EfZfXkZi9JP4A47zieeaFvQYogwB051FEimT0NAOeknqaq976Gu2xHdHCMKcrCyD2TgsbioJ1We1TXKzfTK4a0AgMcwIV2Ni2H9+eWATDrCSxMWovdRjmRKzY0eQh5Qba7YV/6Ut0fI7QIeAvaH76fBi1m17HcpCjAEWjYrvgK7m6petmhpCcXIqEo6USpiNyNVIiJ3w0br3lVA8S8dB+1coj082/ 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)(346002)(396003)(39860400002)(366004)(376002)(136003)(451199018)(36756003)(83380400001)(6506007)(186003)(26005)(6512007)(71200400001)(53546011)(6486002)(478600001)(66476007)(91956017)(2616005)(66556008)(76116006)(64756008)(66946007)(86362001)(66446008)(8676002)(2906002)(41300700001)(8936002)(5660300002)(122000001)(110136005)(316002)(38070700005)(38100700002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cVBzc09hRTRFMGo3QjlIVWZOK1VVc1lkZk12eXRhYk9JcS9Zb1gxTEc2MURs?= =?utf-8?B?SzVzMzczc1VwU2pyd3MvNmo5Nk1pUUhnRTZLMmI5eVJxTnF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3FkcXdMK29LZ0dmUEpFenpCbDRuWkNuM0p1Q3lFdDZJS0gwaERQSFVmbjVj?= =?utf-8?B?M1NXRFNLRHdYMVdDMEowMDgzajQ4T05HRGxrdDg1KzRGeHF2S1p4YUZsR3Rp?= =?utf-8?B?UnFyYkMrRkl4NERnNG9RYnJwOFZwelloQm5MVlUyK0E5MW9BZ2FSZVFRM2Nh?= =?utf-8?B?TTlDMkNsR3NQZ09xVjVpSWN1dHlpT2g3RVNYRU5jdFl0bzVUT3dJK09aNVhq?= =?utf-8?Q?BQpnlD7NS3OOdcQkO6Al/xDhp?= Content-Type: text/plain; charset="utf-8" Content-ID: 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: 7f7f2321-f849-4130-abba-08db161888f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2023 03:38:03.5128 (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: uAyb8Fp1/Hrck8O3TVvQ66ZG8eGaFDNoFVOWsjskLykPcnfDk6piwdLEliC57erS60gGHIxfwdbAMlKPHa/lcQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB4577 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIzLTAyLTI0IGF0IDExOjI5ICswODAwLCBNZW5nIFRhbmcgd3JvdGU6DQo+IA0K PiANCj4gT24gMjAyMy8yLzI0IDExOjEzLCBaYWNrIFJ1c2luIHdyb3RlOg0KPiA+IA0KPiA+IFRo YXQncyBjb3JyZWN0LiBUaGF0J3MgdGhlIHdheSB0aG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