Revert "fix overflow warning on videoRam"
This reverts commit 08ebde4715, which was
apparently untested and broke KMS.
This commit is contained in:
parent
ceb3a2eaf9
commit
7b01aa5cc4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue