linux_dsm_epyc7002/drivers/gpu/drm/qxl
Gerd Hoffmann fbf0a7f44c drm/qxl: get vga ioports
qxl has two modes: "native" (used by the drm driver) and "vga" (vga
compatibility mode, typically used for boot display and firmware
framebuffers).

Accessing any vga ioport will switch the qxl device into vga mode.
The qxl driver never does that, but other drivers accessing vga ports
can trigger that too and therefore disturb qxl operation.  So aquire
the legacy vga ioports from vgaarb to avoid that.

Reproducer: Boot kvm guest with both qxl and i915 vgpu, with qxl being
first in pci scan order.

v2: Skip this for secondary qxl cards which don't have vga mode in the
    first place (Frediano).

Cc: Frediano Ziglio <fziglio@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190805105401.29874-1-kraxel@redhat.com
2019-08-23 09:06:45 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qxl_cmd.c drm/qxl: use shadow bo directly 2019-01-28 14:24:53 +01:00
qxl_debugfs.c
qxl_dev.h
qxl_display.c drm/qxl: remove set but not used variable 'bo_old' 2019-02-21 13:04:16 +01:00
qxl_draw.c drm/qxl: remove dead qxl fbdev emulation code 2019-01-28 14:24:53 +01:00
qxl_drv.c drm/qxl: get vga ioports 2019-08-23 09:06:45 +02:00
qxl_drv.h drm/ttm: Define a single DRM_FILE_PAGE_OFFSET constant 2019-03-19 15:03:53 -05:00
qxl_dumb.c drm/qxl: use QXL_GEM_DOMAIN_SURFACE for dumb gem objects 2019-01-28 14:24:53 +01:00
qxl_gem.c
qxl_image.c
qxl_ioctl.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
qxl_irq.c
qxl_kms.c drm/qxl: use separate offset spaces for the two slots / ttm memory types. 2019-01-28 14:24:52 +01:00
qxl_object.c drm/qxl: implement prime kmap/kunmap 2019-01-28 14:24:53 +01:00
qxl_object.h qxl: Remove unused qxl_bo_pin arguments 2018-11-21 09:12:45 +01:00
qxl_prime.c drm/qxl: drop WARN_ONCE() 2019-05-27 13:17:03 +02:00
qxl_release.c drm/ttm: Make LRU removal optional v2 2019-05-31 10:39:34 -05:00
qxl_ttm.c drm/ttm: Quick-test mmap offset in ttm_bo_mmap() 2019-03-19 15:03:53 -05:00