Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp385962pxb; Wed, 3 Mar 2021 05:56:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZlnxIghYJ9SQ9epfRD6nx4cUzfF3JaPLJ8UEqfdkLBD6Wrz1UG5tYLOIpJY1bjWOYe1wO X-Received: by 2002:a05:6402:4d3:: with SMTP id n19mr25452061edw.2.1614779763138; Wed, 03 Mar 2021 05:56:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779763; cv=none; d=google.com; s=arc-20160816; b=nPDjMlKZmA4/j+nNx5wli1H6YeCwEdw2H0DCWhTk/1m0Crt/BCpRT0hAl3dha4f6cy sGFL/d/gxBxBf79lIKecUU6IW9jNivgbjvhLxoH+I7oWvzOKWyNrGANr1XoMBIU8dXMM Y1oHaKwfBhUHa1EYn4+B73RaZQa5fzDTxHcnUhJHSeYTxa/YkbijiaJHp4uHOrTGXpbr J9Fg3yMZcx/VgWjP8NG+y/F34WhkCmAsciEykqqX41CwzaeYyXGw8b3reb1Ay9YSn1dB azTsxMGJ38cEZD/ArTaTf5FeHmpYcIuD/iuVymDhkddtTLfYY0DV4eGi/IIrZnUaElLT X4XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2w7FEoH+lk/vj/z3511KTLpt9FUNplz0TXw0LxtF7yA=; b=cG5ASqXI2txL0L6wX6ZRS7RizMvvROwJgbfotm0DAm4IO0CHTIn7s71X0C/zK/3dN2 bn+3TFmrCzDmHAvay2O92NFwJ7rwmKcpRFS0ckz2iWLfZmWuowZNqEWFiDL/p9y3KQ7o Txo9sjfYEj5BXBWn9vWH6LftSMXE+qM9ncS39Ux3AvYJ2VohQDpg7vhAk003l0f5StoC Ls0ZpEPnpOvH2ymJ5/k+crt0FeK3EBh0IJoMQs7/O9UuU3z7wC/RBMF7R7MIjqTMfq4N GhS3//VfOysxlOJEbkEWZR0JFON4d/ZEi4w7v0z+XfxBpg9g981T+pVt/1THfy7Hmupo 9XYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PPk0P7Nm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si15572091edm.396.2021.03.03.05.55.30; Wed, 03 Mar 2021 05:56:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PPk0P7Nm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242871AbhCAUM5 (ORCPT + 99 others); Mon, 1 Mar 2021 15:12:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:59162 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236721AbhCARDS (ORCPT ); Mon, 1 Mar 2021 12:03:18 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id CD32564EDB; Mon, 1 Mar 2021 16:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614616721; bh=HWt8j+hbvhrQPej1Uq8e3ZIKSqaMxvW7ZbU4BXe/xqM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PPk0P7NmpMbH/JLHKQTffLe1ShcFC2yvPT+I6sW4eFe6ggN30WSya8yTimlwN+l74 cvnYt08/7ZA5Mc2e67MZAhNkSNsmsZU3N0pBIJ7lVTu4cOCkwu6iss1WCVT3ARsMqs sZTAcWrL2xHe4VwDYDT4R1YDqzdmBrtqmYQaYOcE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Randy Dunlap , "David S. Miller" , sparclinux@vger.kernel.org, Tomi Valkeinen , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Daniel Vetter , David Airlie , Bartlomiej Zolnierkiewicz , Geert Uytterhoeven , Sasha Levin Subject: [PATCH 4.19 073/247] fbdev: aty: SPARC64 requires FB_ATY_CT Date: Mon, 1 Mar 2021 17:11:33 +0100 Message-Id: <20210301161035.261994907@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161031.684018251@linuxfoundation.org> References: <20210301161031.684018251@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit c6c90c70db4d9a0989111d6b994d545659410f7a ] It looks like SPARC64 requires FB_ATY_CT to build without errors, so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled instead of using "default y if SPARC64 && PCI", which is not strong enough to prevent build errors. As it currently is, FB_ATY_CT can be disabled, resulting in build errors: ERROR: modpost: "aty_postdividers" [drivers/video/fbdev/aty/atyfb.ko] undefined! ERROR: modpost: "aty_ld_pll_ct" [drivers/video/fbdev/aty/atyfb.ko] undefined! Reviewed-by: Geert Uytterhoeven Fixes: f7018c213502 ("video: move fbdev to drivers/video/fbdev") Signed-off-by: Randy Dunlap Cc: "David S. Miller" Cc: sparclinux@vger.kernel.org Cc: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Cc: Daniel Vetter Cc: David Airlie Cc: Bartlomiej Zolnierkiewicz Cc: Geert Uytterhoeven Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20201127031752.10371-1-rdunlap@infradead.org Signed-off-by: Sasha Levin --- drivers/video/fbdev/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index f99558d006bf4..97c4319797d5c 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -1303,6 +1303,7 @@ config FB_ATY select FB_CFB_IMAGEBLIT select FB_BACKLIGHT if FB_ATY_BACKLIGHT select FB_MACMODES if PPC + select FB_ATY_CT if SPARC64 && PCI help This driver supports graphics boards with the ATI Mach64 chips. Say Y if you have such a graphics board. @@ -1313,7 +1314,6 @@ config FB_ATY config FB_ATY_CT bool "Mach64 CT/VT/GT/LT (incl. 3D RAGE) support" depends on PCI && FB_ATY - default y if SPARC64 && PCI help Say Y here to support use of ATI's 64-bit Rage boards (or other boards based on the Mach64 CT, VT, GT, and LT chipsets) as a -- 2.27.0