diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2005-08-15 07:30:05 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2005-08-15 07:30:05 +0000 |
commit | 461d43be78f49e6cb965b7a206c77f6fe1622601 (patch) | |
tree | 36a337d96e71a3beb22a6a1fc7f9049f4508e601 /src/i830_memory.c | |
parent | 95bd8dbee69b4b35e4c37e19d15e0449c38726b6 (diff) |
Egbert's 64bit fixes for mixed 32/64bit clients
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r-- | src/i830_memory.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c index fd95d0fc..27cf0178 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -1617,7 +1617,7 @@ long I830CheckAvailableMemory(ScrnInfoPtr pScrn) { AgpInfoPtr agpinf; - int maxPages; + long maxPages; if (!xf86AgpGARTSupported() || !xf86AcquireGART(pScrn->scrnIndex) || @@ -1626,8 +1626,9 @@ I830CheckAvailableMemory(ScrnInfoPtr pScrn) return -1; maxPages = agpinf->totalPages - agpinf->usedPages; - xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "%s: %d kB available\n", - "I830CheckAvailableMemory", maxPages * 4); + xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, + "Checking Available AGP Memory: %ld kB available (total %ld kB, used %ld kB)\n", + maxPages * 4, agpinf->totalPages * 4, agpinf->usedPages * 4); return maxPages * 4; } |