summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-07-03 16:33:28 +1000
committerJonathan Gray <jsg@jsg.id.au>2013-08-12 10:44:31 +1000
commitf65f51380e1f3031d3248d1d244eae261f38aef4 (patch)
tree6c2d7377df756379a18ea696d86242e1e63df565
parent7167194c79c196c3e395903e6d7bf4c1044b7c7e (diff)
set RI_WRONLY to speed up the unaccelerated console fb
-rw-r--r--sys/dev/pci/drm/radeon/radeon_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c
index ac75fb02534..3ef3ddb3925 100644
--- a/sys/dev/pci/drm/radeon/radeon_kms.c
+++ b/sys/dev/pci/drm/radeon/radeon_kms.c
@@ -1663,7 +1663,7 @@ radeondrm_attachhook(void *xsc)
drm_fb_helper_restore();
- ri->ri_flg = RI_CENTER | RI_VCONS;
+ ri->ri_flg = RI_CENTER | RI_VCONS | RI_WRONLY;
rasops_init(ri, 160, 160);
ri->ri_hw = rdev;