summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-12-17 20:10:58 +1100
committerDave Airlie <airlied@linux.ie>2006-12-17 20:10:58 +1100
commit87592ffb717da1f0a1767a38918d16d60953599c (patch)
treec6df65926ceee3a69cbbef62b746a362de28ce38 /src
parent41cd50487bc85708a3f791dfa70bf85223d91a65 (diff)
add setdpi call
Diffstat (limited to 'src')
-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;