1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 20:10:49 +00:00
Niklas Schnelle f663c6ae36
drm: handle HAS_IOPORT dependencies
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 also a direct and hard coded use in cirrus.c which according to
the comment is only necessary during resume.  Let's just skip this as
for example s390 which doesn't have I/O port support also doesen't
support suspend/resume.

Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com> # xe
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-10-28 21:44:27 +00:00
..
2024-10-28 21:44:27 +00:00
2024-10-28 21:44:27 +00:00
2024-05-02 11:33:27 +02:00
2024-05-02 11:33:28 +02:00
2024-05-02 11:33:28 +02:00
2024-05-02 11:33:29 +02:00
2024-05-02 11:33:29 +02:00
2024-05-02 11:33:30 +02:00
2024-05-02 11:33:20 +02:00
2024-05-02 11:33:31 +02:00
2024-05-02 11:33:31 +02:00
2024-05-02 11:33:32 +02:00