linux-yocto/drivers/video
Randy Dunlap 490cce988b fbdev: nvidiafb: add depends on HAS_IOPORT
commit ecdd7df997 upstream.

The nvidiafb driver uses inb()/outb() without depending on HAS_IOPORT,
which leads to build errors since kernel v6.13-rc1:
commit 6f043e7574 ("asm-generic/io.h: Remove I/O port accessors
for HAS_IOPORT=n")

Add the HAS_IOPORT dependency to prevent the build errors.

(Found in ARCH=um allmodconfig builds)

drivers/video/fbdev/nvidia/nv_accel.c: In function ‘NVDmaWait’:
include/asm-generic/io.h:596:15: error: call to ‘_outb’ declared with attribute error: outb() requires CONFIG_HAS_IOPORT
  596 | #define _outb _outb

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Arnd Bergmann <arnd@kernel.org>
Cc: Niklas Schnelle <schnelle@linux.ibm.com>
Cc: Antonino Daplas <adaplas@gmail.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: stable@vger.kernel.org # v6.13+
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-20 18:41:40 +02:00
..
backlight backlight: pm8941: Add NULL check in wled_configure() 2025-04-15 18:27:38 +01:00
console drm-fixes for v6.16-rc1 2025-06-06 09:26:47 -07:00
fbdev fbdev: nvidiafb: add depends on HAS_IOPORT 2025-08-20 18:41:40 +02:00
logo
aperture.c
cmdline.c
display_timing.c
hdmi.c video: hdmi: Remove unused hdmi_infoframe_check 2024-12-22 07:03:42 +01:00
Kconfig gpu: nova-core: add initial driver stub 2025-03-09 19:24:27 +01:00
Makefile
nomodeset.c
of_display_timing.c
of_videomode.c
screen_info_generic.c firmware: sysfb: Move bpp-depth calculation into screen_info helper 2025-04-07 11:02:07 +02:00
screen_info_pci.c video: screen_info: Relocate framebuffers behind PCI bridges 2025-06-05 17:54:06 +02:00
sticore.c
vgastate.c
videomode.c