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=-13.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 E5A32C4320A for ; Thu, 22 Jul 2021 21:55:51 +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 B5E4D60EB5 for ; Thu, 22 Jul 2021 21:55:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B5E4D60EB5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 44C616ECCC; Thu, 22 Jul 2021 21:55:51 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 84A0A6F41C for ; Thu, 22 Jul 2021 21:55:49 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 096D060EB4; Thu, 22 Jul 2021 21:55:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626990949; bh=38/gCLLIKRNs+3LlTom+83SP70ITg2eDDYyBdiaRcM0=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=gwPTLMcqh6IZK4DjqkeRFtR3rE+94T1+Y0rWXqZUkBjwEHXFDoUM15zOYhX83L3WM jz+QDDmtV1SRrgnf4o96O0IabnpgaxGfh7e0d1m+XubinAbe8eMaeqspA4EVTUZihM dHTviUPYCjQi9vJRpsIAI/yJiOpCHXBR+1nkx2C8jGkQZQiBVBEgmmwJOg8MBuOuW6 wdm8mEoeOaXFh96Ys7LEuzzFm7DI2yLPE091ZXcfdRxHWZ82NdvoYnh2IcYnK/0fxm rGfePFtavJnhQE/kEjVaXGCPskBrmFRSK3Oox0XZmBl++Sgt8svmkZ34XhNXs9Mz4r T8YsYfCrGZl6A== Date: Thu, 22 Jul 2021 16:55:47 -0500 From: Bjorn Helgaas To: Randy Dunlap Subject: Re: [PATCH v2 1/9] PCI/VGA: Move vgaarb to drivers/pci Message-ID: <20210722215547.GA351340@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7ae9d6b3-dce4-82f8-a315-56a0ecf657c0@infradead.org> 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: David Airlie , dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, Bjorn Helgaas , Xuefeng Li , Huacai Chen Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Jul 22, 2021 at 02:38:43PM -0700, Randy Dunlap wrote: > 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... Thanks! Fixed both locally.