From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Wed, 19 Jul 2017 09:01:50 +0100 From: Will Deacon To: Daniel Axtens Subject: Re: [PATCH v2 4/4] arm64: allow non-legacy VGA devices to be default Message-ID: <20170719080150.GB13642@arm.com> References: <20170719021516.24718-1-dja@axtens.net> <20170719021516.24718-5-dja@axtens.net> MIME-Version: 1.0 In-Reply-To: <20170719021516.24718-5-dja@axtens.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: catalin.marinas@arm.com, gabriele.paoloni@huawei.com, airlied@linux.ie, linux-pci@vger.kernel.org, z.liuxinliang@hisilicon.com, bhelgaas@google.com, alex.williamson@redhat.com, benh@kernel.crashing.org, zourongrong@gmail.com, daniel.vetter@intel.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+bjorn=helgaas.com@lists.infradead.org List-ID: On Wed, Jul 19, 2017 at 12:15:16PM +1000, Daniel Axtens wrote: > The VGA arbiter only marks a device as default if it can decode > legacy I/O and memory ranges. This is often not the case on arm64, > which doesn't use the legacy ranges. > > Enable the VGA arbiter to mark the first enabled VGA card as > default. > > Signed-off-by: Daniel Axtens Acked-by: Will Deacon Will > --- > > Tested on a D05 using the hibmc card. > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index dfd908630631..cefcbd442e4f 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -28,6 +28,7 @@ config ARM64 > select ARCH_SUPPORTS_NUMA_BALANCING > select ARCH_WANT_COMPAT_IPC_PARSE_VERSION > select ARCH_WANT_FRAME_POINTERS > + select ARCH_WANT_VGA_ARB_FALLBACK > select ARCH_HAS_UBSAN_SANITIZE_ALL > select ARM_AMBA > select ARM_ARCH_TIMER > -- > 2.11.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by lists.ozlabs.org (Postfix) with ESMTP id 3xC8wj14yGzDrT4 for ; Wed, 19 Jul 2017 18:15:31 +1000 (AEST) Date: Wed, 19 Jul 2017 09:01:50 +0100 From: Will Deacon To: Daniel Axtens Cc: linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, benh@kernel.crashing.org, z.liuxinliang@hisilicon.com, zourongrong@gmail.com, catalin.marinas@arm.com, gabriele.paoloni@huawei.com, bhelgaas@google.com, airlied@linux.ie, daniel.vetter@intel.com, alex.williamson@redhat.com Subject: Re: [PATCH v2 4/4] arm64: allow non-legacy VGA devices to be default Message-ID: <20170719080150.GB13642@arm.com> References: <20170719021516.24718-1-dja@axtens.net> <20170719021516.24718-5-dja@axtens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20170719021516.24718-5-dja@axtens.net> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jul 19, 2017 at 12:15:16PM +1000, Daniel Axtens wrote: > The VGA arbiter only marks a device as default if it can decode > legacy I/O and memory ranges. This is often not the case on arm64, > which doesn't use the legacy ranges. > > Enable the VGA arbiter to mark the first enabled VGA card as > default. > > Signed-off-by: Daniel Axtens Acked-by: Will Deacon Will > --- > > Tested on a D05 using the hibmc card. > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index dfd908630631..cefcbd442e4f 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -28,6 +28,7 @@ config ARM64 > select ARCH_SUPPORTS_NUMA_BALANCING > select ARCH_WANT_COMPAT_IPC_PARSE_VERSION > select ARCH_WANT_FRAME_POINTERS > + select ARCH_WANT_VGA_ARB_FALLBACK > select ARCH_HAS_UBSAN_SANITIZE_ALL > select ARM_AMBA > select ARM_ARCH_TIMER > -- > 2.11.0 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Wed, 19 Jul 2017 09:01:50 +0100 Subject: [PATCH v2 4/4] arm64: allow non-legacy VGA devices to be default In-Reply-To: <20170719021516.24718-5-dja@axtens.net> References: <20170719021516.24718-1-dja@axtens.net> <20170719021516.24718-5-dja@axtens.net> Message-ID: <20170719080150.GB13642@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jul 19, 2017 at 12:15:16PM +1000, Daniel Axtens wrote: > The VGA arbiter only marks a device as default if it can decode > legacy I/O and memory ranges. This is often not the case on arm64, > which doesn't use the legacy ranges. > > Enable the VGA arbiter to mark the first enabled VGA card as > default. > > Signed-off-by: Daniel Axtens Acked-by: Will Deacon Will > --- > > Tested on a D05 using the hibmc card. > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index dfd908630631..cefcbd442e4f 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -28,6 +28,7 @@ config ARM64 > select ARCH_SUPPORTS_NUMA_BALANCING > select ARCH_WANT_COMPAT_IPC_PARSE_VERSION > select ARCH_WANT_FRAME_POINTERS > + select ARCH_WANT_VGA_ARB_FALLBACK > select ARCH_HAS_UBSAN_SANITIZE_ALL > select ARM_AMBA > select ARM_ARCH_TIMER > -- > 2.11.0 >