diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2013-07-19 00:01:05 +0200 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-08-12 10:46:22 +1000 |
commit | 4075c3969f53c79f6c8220154625d047078ccb45 (patch) | |
tree | 9e6c4eb5cbba90c0dc515b911b1eef6321215ae2 | |
parent | 5623c28771021185b42be273ca3fbb59b062041b (diff) |
disable decoding of VGA addresses and opt out of arbitration
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_kms.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c index 8c7146c6d2d..7ed2207a918 100644 --- a/sys/dev/pci/drm/radeon/radeon_kms.c +++ b/sys/dev/pci/drm/radeon/radeon_kms.c @@ -1700,6 +1700,13 @@ radeondrm_attachhook(void *xsc) aa.console = 1; } + /* + * Now that we've taken over the console, disable decoding of + * VGA legacy addresses, and opt out of arbitration. + */ + radeon_vga_set_state(rdev, false); + pci_disable_legacy_vga(&rdev->dev); + printf("%s: %dx%d\n", rdev->dev.dv_xname, ri->ri_width, ri->ri_height); config_found_sm(&rdev->dev, &aa, wsemuldisplaydevprint, |