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=-17.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 4C9B1C4338F for ; Thu, 22 Jul 2021 21:38:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 31DC460EB9 for ; Thu, 22 Jul 2021 21:38:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231403AbhGVU6N (ORCPT ); Thu, 22 Jul 2021 16:58:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231336AbhGVU6N (ORCPT ); Thu, 22 Jul 2021 16:58:13 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39174C061575 for ; Thu, 22 Jul 2021 14:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=cqz9dZ4QLPxSn0JRt9eoqOLqstyCwONQpjDJJM2IK7g=; b=WxUAqH3G6MItpcb9wkt2/UBvxY Ns7Iux9KJGGf4mDkQ/nCQIjR3v2HjQUBpIaMIf5uTcoGxcXQBbKlty2GvTCpTz8vUjcEd4zSFmdzX Esd6WuImOXalk0p9njzgzac+JnswgRe/mZ2KBm0A9GhFXHaJSQRljMm7L+ZCblTgOzc6wH5HJZVoV coc6oG3VVvhSPrsiK685WvF3Pz/P3ktn3iOVQgR/bUH6PCJX+x+8LBJKNPFNirvZ536vKggLrwmVA p1ZhS4rR4n/13f1mOAe8u/fRcsZ7talwFTs6dGsNc0Y4rZQbwktWs07MjTjfXBaa3cEzJM/wD4RDv sED4myRQ==; Received: from [2601:1c0:6280:3f0:7629:afff:fe72:e49d] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6gP0-002ovH-Bs; Thu, 22 Jul 2021 21:38:46 +0000 Subject: Re: [PATCH v2 1/9] PCI/VGA: Move vgaarb to drivers/pci To: Bjorn Helgaas , Huacai Chen Cc: David Airlie , Daniel Vetter , Xuefeng Li , Benjamin Herrenschmidt , dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, Bjorn Helgaas References: <20210722212920.347118-1-helgaas@kernel.org> <20210722212920.347118-2-helgaas@kernel.org> From: Randy Dunlap Message-ID: <7ae9d6b3-dce4-82f8-a315-56a0ecf657c0@infradead.org> Date: Thu, 22 Jul 2021 14:38:43 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210722212920.347118-2-helgaas@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On 7/22/21 2:29 PM, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > The VGA arbiter is really PCI-specific and doesn't depend on any GPU > things. Move it to the PCI subsystem. > > Signed-off-by: Bjorn Helgaas > --- > drivers/gpu/vga/Kconfig | 19 ------------------- > drivers/gpu/vga/Makefile | 1 - > drivers/pci/Kconfig | 19 +++++++++++++++++++ > drivers/pci/Makefile | 1 + > drivers/{gpu/vga => pci}/vgaarb.c | 0 > 5 files changed, 20 insertions(+), 20 deletions(-) > rename drivers/{gpu/vga => pci}/vgaarb.c (100%) > > diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig > index 0c473d75e625..7c9e56d7b857 100644 > --- a/drivers/pci/Kconfig > +++ b/drivers/pci/Kconfig > @@ -252,6 +252,25 @@ config PCIE_BUS_PEER2PEER > > endchoice > > +config VGA_ARB > + bool "VGA Arbitration" if EXPERT > + default y > + depends on (PCI && !S390) You can drop the PCI part above. > + help > + Some "legacy" VGA devices implemented on PCI typically have the same > + hard-decoded addresses as they did on ISA. When multiple PCI devices > + are accessed at same time they need some kind of coordination. Please > + see Documentation/gpu/vgaarbiter.rst for more details. Select this to Move that Doc file also... > + enable VGA arbiter. > + -- ~Randy