Revert "fix overflow warning on videoRam"

This reverts commit 08ebde4715, which was
apparently untested and broke KMS.
This commit is contained in:
Eric Anholt 2009-04-22 09:03:21 -07:00
parent ceb3a2eaf9
commit 7b01aa5cc4
1 changed files with 1 additions and 1 deletions

View File

@ -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);