summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 942d2ad6..615525c4 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -3240,6 +3240,9 @@ _X_EXPORT Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags)
pScrn->displayWidth = (pScrn->virtualX + 63) & ~63;
+ /* Set display resolution */
+ xf86SetDpi(pScrn, 0, 0);
+
/* Get ScreenInit function */
if (!xf86LoadSubModule(pScrn, "fb")) return FALSE;