[Spice-devel] [PATCH 31/37] drm: handle HAS_IOPORT dependencies

2022-04-29 Thread Niklas Schnelle
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. There is also a direct and hard coded use in cirrus.c which according to the comment is only necessary during resume. Let's just skip

Re: [Spice-devel] [PATCH 31/37] drm: handle HAS_IOPORT dependencies

2022-04-29 Thread Niklas Schnelle
On Fri, 2022-04-29 at 15:50 +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to add HAS_IOPORT as dependency for > those drivers using them. There is also a direct and hard coded use in > cirrus.c which accordi

[Spice-devel] [RFC v2 08/39] drm: handle HAS_IOPORT dependencies

2022-04-29 Thread Niklas Schnelle
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. 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. The

[Spice-devel] [PATCH 4/4] drm/qxl: add drm_gem_plane_helper_prepare_fb

2022-04-29 Thread Christian König
We could need to wait for the pin to complete here. Signed-off-by: Christian König Cc: Dave Airlie Cc: Gerd Hoffmann Cc: virtualizat...@lists.linux-foundation.org Cc: spice-devel@lists.freedesktop.org --- drivers/gpu/drm/qxl/qxl_display.c | 8 +++- 1 file changed, 7 insertions(+), 1 deleti