Commit c6c90c70 authored by Randy Dunlap's avatar Randy Dunlap Committed by Daniel Vetter

fbdev: aty: SPARC64 requires FB_ATY_CT

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Fixes: f7018c21 ("video: move fbdev to drivers/video/fbdev")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-fbdev@vger.kernel.org
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201127031752.10371-1-rdunlap@infradead.org
parent 584e599b
...@@ -1269,6 +1269,7 @@ config FB_ATY ...@@ -1269,6 +1269,7 @@ config FB_ATY
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_BACKLIGHT if FB_ATY_BACKLIGHT select FB_BACKLIGHT if FB_ATY_BACKLIGHT
select FB_MACMODES if PPC select FB_MACMODES if PPC
select FB_ATY_CT if SPARC64 && PCI
help help
This driver supports graphics boards with the ATI Mach64 chips. This driver supports graphics boards with the ATI Mach64 chips.
Say Y if you have such a graphics board. Say Y if you have such a graphics board.
...@@ -1279,7 +1280,6 @@ config FB_ATY ...@@ -1279,7 +1280,6 @@ config FB_ATY
config FB_ATY_CT config FB_ATY_CT
bool "Mach64 CT/VT/GT/LT (incl. 3D RAGE) support" bool "Mach64 CT/VT/GT/LT (incl. 3D RAGE) support"
depends on PCI && FB_ATY depends on PCI && FB_ATY
default y if SPARC64 && PCI
help help
Say Y here to support use of ATI's 64-bit Rage boards (or other 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 boards based on the Mach64 CT, VT, GT, and LT chipsets) as a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment