Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-24 Thread Niklas Schnelle
On Mon, Oct 21, 2024 at 01:18:20PM +0200, Niklas Schnelle wrote: > On Mon, 2024-10-21 at 12:58 +0200, Thomas Zimmermann wrote: > > Hi > > > > Am 21.10.24 um 12:08 schrieb Arnd Bergmann: > > > On Mon, Oct 21, 2024, at 07:52, Thomas Zimmermann wrote: > > > > Am 08.10.24 um 14:39 schrieb Niklas Schne

Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-21 Thread Arnd Bergmann
On Mon, Oct 21, 2024, at 10:58, Thomas Zimmermann wrote: > Am 21.10.24 um 12:08 schrieb Arnd Bergmann: >> On Mon, Oct 21, 2024, at 07:52, Thomas Zimmermann wrote: >> --- a/drivers/gpu/drm/tiny/bochs.c >> +++ b/drivers/gpu/drm/tiny/bochs.c >> @@ -112,14 +112,12 @@ static void bochs_vga_writeb(struct

Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-21 Thread Niklas Schnelle
On Mon, 2024-10-21 at 12:58 +0200, Thomas Zimmermann wrote: > Hi > > Am 21.10.24 um 12:08 schrieb Arnd Bergmann: > > On Mon, Oct 21, 2024, at 07:52, Thomas Zimmermann wrote: > > > Am 08.10.24 um 14:39 schrieb Niklas Schnelle: > > d 100644 > > > > --- a/drivers/gpu/drm/qxl/Kconfig > > > > +++ b/dri

Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-21 Thread Thomas Zimmermann
I'd review a separate series for such a change. Could also be a single patch here, of course. -- -- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman H

Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-21 Thread Thomas Zimmermann
Hi Am 21.10.24 um 12:08 schrieb Arnd Bergmann: On Mon, Oct 21, 2024, at 07:52, Thomas Zimmermann wrote: Am 08.10.24 um 14:39 schrieb Niklas Schnelle: d 100644 --- a/drivers/gpu/drm/qxl/Kconfig +++ b/drivers/gpu/drm/qxl/Kconfig @@ -2,6 +2,7 @@ config DRM_QXL tristate "QXL virtual GP

Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-21 Thread Arnd Bergmann
On Mon, Oct 21, 2024, at 07:52, Thomas Zimmermann wrote: > Am 08.10.24 um 14:39 schrieb Niklas Schnelle: d 100644 >> --- a/drivers/gpu/drm/qxl/Kconfig >> +++ b/drivers/gpu/drm/qxl/Kconfig >> @@ -2,6 +2,7 @@ >> config DRM_QXL >> tristate "QXL virtual GPU" >> depends on DRM && PCI && MMU

Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-21 Thread Thomas Zimmermann
Hi Am 08.10.24 um 14:39 schrieb Niklas Schnelle: In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. We thus need to add HAS_IOPORT as dependency for those drivers using them. In the bochs driver there is optional MMIO support detected at runtime, warn if this i

[PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-08 Thread Niklas Schnelle
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. We thus need to add HAS_IOPORT as dependency for those drivers using them. In the bochs driver there is optional MMIO support detected at runtime, warn if this isn't taken when HAS_IOPORT is not defined. There is