summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-12-31 13:01:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-12-31 13:01:01 +0000
commitabe7f2dd3289f65b15fe446e9f1597c6259a98e9 (patch)
tree79fc3d535f27524a1b628285746a0f48401173f2 /sys/dev/pci/files.pci
parent6bd5ffac6c54e8aed2204be323fdef13e0c0550b (diff)
Provide a minimal implementation of the Linux vga_get/vga_put API and use it
in inteldrm(4). The Intel integrated graphics device has a major design flaw where it needs legacy VGA io access to disable VGA mode completely. This only works if legacy VGA io routing is setup such that it actually reaches the IGD. This typically isn't the case if the primary VGA device is a discrete graphics device. To make sure we don't whack that device we have to temporarily route legacy VGA io access to the IGD. Fixes the "black screen" issue reported by Timo Myrra and others.
Diffstat (limited to 'sys/dev/pci/files.pci')
0 files changed, 0 insertions, 0 deletions