xf86-video-intel: src/i830_driver.c
Eric Anholt
anholt at kemper.freedesktop.org
Wed Apr 22 09:07:32 PDT 2009
src/i830_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7b01aa5cc41620da5bb48f391ff98d9e82572e52
Author: Eric Anholt <eric at anholt.net>
Date: Wed Apr 22 09:03:21 2009 -0700
Revert "fix overflow warning on videoRam"
This reverts commit 08ebde4715b87867184d42b60762cd774e151f5c, which was
apparently untested and broke KMS.
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 2249a99..276132e 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -3000,7 +3000,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
if (pI830->use_drm_mode) {
#ifdef XF86DRM_MODE
pI830->stolen_size = 0;
- pScrn->videoRam = INT_MAX / KB(1);
+ pScrn->videoRam = ~0UL / KB(1);
#endif
} else {
I830AdjustMemory(pScreen);
More information about the xorg-commit
mailing list