diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-10-13 01:13:58 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-10-13 01:13:58 +0000 |
commit | 35a767590e481b15ae66dccc2dd91098992b2751 (patch) | |
tree | 5bc44f75c374983d07dd33b0e301defbc4b126ff /exa | |
parent | a16dabd05ee7ec97877f07bd40ed83c01e72fc22 (diff) |
Fix stupid mistake in yesterday's allocator commit, would cause exa to
consider a random available memory size
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa_offscreen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/exa/exa_offscreen.c b/exa/exa_offscreen.c index 9ff88b4a2..c96199879 100644 --- a/exa/exa_offscreen.c +++ b/exa/exa_offscreen.c @@ -368,7 +368,8 @@ exaOffscreenInit (ScreenPtr pScreen) area->state = ExaOffscreenAvail; area->base_offset = pExaScr->info->card.offScreenBase; - area->size = pExaScr->info->card.memorySize - area->offset; + area->offset = area->base_offset; + area->size = pExaScr->info->card.memorySize - area->base_offset; area->save = NULL; area->next = NULL; area->score = 0; |