Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp615157pxb; Fri, 15 Apr 2022 07:23:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaiqCLTNqCT8JtbZkZZEF7oGRMoR8RoagtN0pg5oGDWE11JEc+H/WHngJpAKPhr7dHTsvB X-Received: by 2002:a17:903:110f:b0:154:c7a4:9371 with SMTP id n15-20020a170903110f00b00154c7a49371mr52449753plh.75.1650032584629; Fri, 15 Apr 2022 07:23:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650032584; cv=pass; d=google.com; s=arc-20160816; b=Lorf/65pnahMxtAIVb108B87KISAvGvfEf5OSJRU566W3e6l2G+mxsmYbHUNHrZbue IpQ4pLGhwllupNa/WmgmkEnfIhlcZxmnTJnc80z4Zjj3eNyRcnzmTroGvnNEiXxYMoYw VUtKiAb5PQoRGkKOH0F1KaJqhdwHYrrP0hk6qbgBvRouC0R84sk0T9/8pLkZKbMoaK74 VOLGQpi2m1NSrKJ1jFz2UyFdEsEut+CE+OTJq2XEyYd98jGCvGKGumQksW0LALszbeCY EJlCjk16b3MJGcXsnWND9e2o1EMTd/sIiV82whx9y9fMc2O0uiNd9GglLl7DrvrdPBTo 6UrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Wb2CE7f3W6b5Vc35+i0KJ/2Rx+s5Zke0g9Er7Ck2lZY=; b=saIS54IfJSoM94QE/ZxeX78D9BpwfULPmwXIlHjdPZtDlQWfdEbxTS5aqP21oshW4K jTAOWrLYnBr0HU5FI3rSVIwdZ4qfO9+or5wMAWK9psnCiyH5Fzb9vybkMbh9VSgrQI0f Xe7jyCNERBiXHLIXLyW5pQoEGoU37q4KXqAbqfkfFxHhAf0HFLxIisuGm44fYj7mFJl8 oTOFlbgQ6K0FVyB/hj3yhcxt4VjZ6U6aG6KaTglFd+oJrUHGTwpmAaQtS4/gyQ7ptzjl 35O8nUZYpLJFSY7qye+hDq2oK+PNVI47GhfOwOEjUFysUMy670RTkUjsmtCE5Bz+AoKM xj0Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=Ssk0vNfC; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i14-20020a63a84e000000b003820cbdac6bsi1635336pgp.395.2022.04.15.07.22.50; Fri, 15 Apr 2022 07:23:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=Ssk0vNfC; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347515AbiDNOwE (ORCPT + 99 others); Thu, 14 Apr 2022 10:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345318AbiDNNpt (ORCPT ); Thu, 14 Apr 2022 09:45:49 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2056.outbound.protection.outlook.com [40.107.93.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06346B874 for ; Thu, 14 Apr 2022 06:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BwavpmVH2kmZ6WUMXOU8Q2zUNr0KlvjL0ACEgg5eiUyriCUSghE9zjH5Cd4sL5DdzUfSyOlE5bMchnF9KKZp+FAVBpjYuTT7n7AkWIKfIbo6q6MeLCJSlQtSj3R9kLTzSqO/eYGjLY+2aymwc7jcEhyFT6Zku68q2wJUsNDoAfVCPPoziQ9Mugu2+qMssTV7iXlMX/pNecrRidv+o5/PdwKrW0NAbD+Rz8qy7YH0Oo3aJd7xlJjDaN7ce4PevhacOC0/OPGSq2ChGipVGtzuzH7xKgpBHGWIgIUW9ee0w5YHDxYdsHyn7b31immLJG5k3MHFaJ+GAI99EMHQHss3lQ== 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=Wb2CE7f3W6b5Vc35+i0KJ/2Rx+s5Zke0g9Er7Ck2lZY=; b=MJZkhHg+Hly9owyzSC/mq+A3fRg1zSEDGykUp4F+HutCAQBYks/jWuDBFEvBX+Kly5y1TGetM6CkJquFh5+DKUHDhZGgwpF8GFebxG/7aus+Gv3koQ6LPpNJ2qa/VOCu2DhIcfNmMG8YS+mt2Rih8eUE3/BmrUubqf+jUHBlWkvYy4OMrUVyZtyOemzr7dvUhfvjYTDeikt++yXUUhLvcp1Ml3mzh93aXOtUDXXO4wQSlP6ILUE2JxhMXbZvOFA8TbVACYTX8Ceg6rP7FErKlktDu3iCyu2qj3W4RG5u6WW6iK03AW9TLi4T7TeQnNmNIKV1u56Hlhgij008ybtHRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Wb2CE7f3W6b5Vc35+i0KJ/2Rx+s5Zke0g9Er7Ck2lZY=; b=Ssk0vNfCPFR2JS0HS14kPdoViCWyvq5litmoFToQQZ9tJAjW1jXeA3Tlk+M9DMYtoPbayu7AsYAMLddkThgvhsRmw4IN0mNotvcl+1tEYzcdB79lQi0h5ghzWv1ghWD2NYhI3cA9Cy6gidWusofMhi4IlEZXk52bO9amy7qkAF7F2mt8O4v0MYyJpZ6rSILoEe1avLZ8UZ/AxMYD6QVgTuR4ND25Qdwqidp4jwsPI7KUBPmjN18MuHW/JhXIFGrFupcNCB7Oieu7FAykqudT95q2KRxxQBZ6dC42Dg24lCPPfSuQiNk7YPwk+An7zc97XAw6q1NxcrqNwo6y1ArbHg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4192.namprd12.prod.outlook.com (2603:10b6:208:1d5::15) by DM6PR12MB3050.namprd12.prod.outlook.com (2603:10b6:5:11a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Thu, 14 Apr 2022 13:43:22 +0000 Received: from MN2PR12MB4192.namprd12.prod.outlook.com ([fe80::ec2d:9167:1b47:2db2]) by MN2PR12MB4192.namprd12.prod.outlook.com ([fe80::ec2d:9167:1b47:2db2%5]) with mapi id 15.20.5164.020; Thu, 14 Apr 2022 13:43:22 +0000 Date: Thu, 14 Apr 2022 10:43:21 -0300 From: Jason Gunthorpe To: Jani Nikula Cc: "Wang, Zhi A" , Christoph Hellwig , Joonas Lahtinen , "Vivi, Rodrigo" , Zhenyu Wang , "intel-gfx@lists.freedesktop.org" , "intel-gvt-dev@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , Alex Williamson Subject: Re: refactor the i915 GVT support and move to the modern mdev API v3 Message-ID: <20220414134321.GD2120790@nvidia.com> References: <20220411141403.86980-1-hch@lst.de> <82c13d8e-1cb4-2873-86e9-16fd38e15b27@intel.com> <20220413154642.GA28095@lst.de> <871qy1geko.fsf@intel.com> <5af7726e-920e-603a-bad3-8adb09d2ba89@intel.com> <20220413232053.GA2120790@nvidia.com> <1c3aaab9-3bd4-95d4-9f9f-4be9e10e6516@intel.com> <20220414133427.GB2120790@nvidia.com> <87ilrbeqbo.fsf@intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ilrbeqbo.fsf@intel.com> X-ClientProxiedBy: BL1PR13CA0139.namprd13.prod.outlook.com (2603:10b6:208:2bb::24) To MN2PR12MB4192.namprd12.prod.outlook.com (2603:10b6:208:1d5::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dfd9d733-49e9-465f-a9f9-08da1e1cbe30 X-MS-TrafficTypeDiagnostic: DM6PR12MB3050:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y8dR7tk54tnmX/jEyOEa1ndJTowDNtdgaCta5vrzUrzNEccU9x8hkIrxcrRBnl+ONDpWJOL8aFoNg5DM2nPrROFJRlfV6Zx4rVXnUJSnOHjibYv2rnBggkZ7stiYIjegbA177MmhQQsVrKx5fTk4cV5HrqtdAlGS3vcXSgwAx6lrOFf9qIRkBtPkxNj8dQ405kjI4/rSU7fvMcHnA7Cj1761mIIM2tLtV0ipJUD4Y6HFCZLGROgmL4Q93NlJ4aARV0wWsPEldDYpTXycarXYJjT+LvxL8CR5NUzlf1tRhq76sFz1aQEYlmB0V2PL75OHVXZkCy6bTAElnni17+AWFnY7oFayK93QZ2gwwF1DpZAemq3lyIx/uK3jIWG80Ieh0QYOlGrV2Nyo9e5ifNY9/VCxd8WrHLp6FbgwNEV3R+pV8NQFdirg7ZpHb4Ezh2WdSvET/YGJl2YK1zqrn8YyPfgQblW4OFn34aVhrQpp9Maqa8CA3KrOHjwpgaEoroKOmxS2F8AR4V4ijp/acZkUGSfFJ1GXnyRw7Vk1tV5boGfIIUoqINej+su0rjFj/R7ucOmMLa+ey2Ag3yDIQ7779qzvDSUWo+HncieWE2/AIpdhumWOllQuXrDuZ05cSayo3+jqOGqADBn+YmAdTYtcr3uk6HPyB4ZyCiw4C8nhUqhi4TN1eN54cmZV1MS/e5BB7hMX/28IrLln0ypK2GfAael7TlAPRa/l/Paq8YThnkA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4192.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(1076003)(4326008)(5660300002)(316002)(66476007)(8676002)(66556008)(38100700002)(2616005)(8936002)(26005)(83380400001)(66946007)(186003)(6512007)(36756003)(7416002)(33656002)(6506007)(6916009)(2906002)(54906003)(508600001)(966005)(86362001)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ZBbkgbVaCs4iyNHi9UlR5XRVi4QdUjNfVb0DF05w5365kLEo6YEypxvfMMLH?= =?us-ascii?Q?dw1FNCTHdUfdQfkkb+zHbbzddrCg9GqdccjOoeb4N36buanXinzKuDpzFkds?= =?us-ascii?Q?c9aspx/srsH3Z0EN/dQpaUx9xxGDNU2B8N5zLcdp+chcph0V9CAK2V8ld+Ta?= =?us-ascii?Q?wuqgEtUG9BILCNVDImcj7e1SbyFa3q7IFTmntCFB/o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5o3fef0dpenFVj83+rlMxuTrdfiYW2+8?= =?us-ascii?Q?TZUdQDnvqj0HBHuajepP7WpkET41kfpghPL+EJRsLNJkuHB9ktTo8cgP/4zE?= =?us-ascii?Q?hpYaXetuZiMr5zf843PtUU2OV4VAQGoCaDBBXdW3i8Xkh7y2d2O4GSs3Y9Z6?= =?us-ascii?Q?ZYMCnSbeS3dTYwTFgA+FfrQ7yjHqF8VH/BFOCNhrgxFTIZ1NTJsJ3ViY5QuY?= =?us-ascii?Q?7odpZWWZRiX17RLfEy6vr27PvCXDHW78/3F2+gGYd26tcyj6mkWsi5IPGhuw?= =?us-ascii?Q?Ivpazo7M3/XWrBu8x4RPRN2U6/oV1dTnu9N9XH+YLv2K89mGmdpmQnMQKwLs?= =?us-ascii?Q?WnTO8jkIO1WM4VzGuPOKKfc2st85FEvEXV+EC4U80AEF/RSpkxOew0vGw3+k?= =?us-ascii?Q?0J7asNeR8/6d2ei/4u57je+9Z34qOgPiGBqFNpUR6gb9MWTfoCL43ynrFa1c?= =?us-ascii?Q?75QirQD+tKXn1WIIqWzlw0cCUykg6p5MHMCPmbFidGS14Xf/rvxsvS8jQfDz?= =?us-ascii?Q?550l881sEDR10KBOJRSB1klO1MspJ6XG7UIMojQrv6yg0cWeEOUeTsGLGjYy?= =?us-ascii?Q?0eja4382zwlhHUQj3m1v3YKNg53dsHkrpCc2UikmuvWlR9aDOPw3A5Kk4XjT?= =?us-ascii?Q?QNm3bKr0Bg=3D=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: dfd9d733-49e9-465f-a9f9-08da1e1cbe30 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4192.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2022 13:43:22.6530 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: I0zEvvzm6w6OiDKoQ1ftMgAYYpKjLgkrCK+ziD8HwZSgMttYlxK4VoYiFoUQaVYP X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3050 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 14, 2022 at 04:40:11PM +0300, Jani Nikula wrote: > >> >> git clone https://github.com/intel/gvt-linux -b for-christoph > >> > > >> > There are alot of extra commits on there - is it possible to base this > >> > straight on rc1 not on some kind of existing DRM tree? > >> > > >> > Why did you choose drm/i915/fbc: Call intel_fbc_activate() directly > >> > from frontbuffer flush as a base? > >> > > >> > Jason > >> > > >> > >> Hi Jason: > >> > >> I updated the branch. You can check if those are what you are expecting. :) > > > > This is better, except for the first commit: > > > > [DON'T PULL] drm/i915/dmc: split out dmc registers to a separate file > > THIS PATCH WILL GO THROUGH DRM-INTEL-NEXT TO UPSTREAM > > > > Clean up the massive i915_reg.h a bit with this isolated set of > > registers. > > > > v2: Remove stale comment (Lucas) > > > > Clean the commit message and send that as a proper PR to > > drm-intel-next, then everything else is OK. > > It's already in drm-intel-next, I guess the problem is basing the branch > on something that doesn't have it. I'd probably just base everything > cleanly on -rc1, and whoever does the merge between the two will need to > account for the missing include in the result. It's just adding one line > in the right place. That makes sense to me, especially if you can do the merge fixup internally in DRM. So drop the '[DONT PULL]' commit and send a PR to the next DRM tree - when that is confirmed send the same PR to vfio, Thanks, Jason