summaryrefslogtreecommitdiff
path: root/hw/darwin
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-10-11 23:11:37 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-10-11 23:11:37 +0000
commit12994b9afbc18bfb7209f677abf673415c9ddf15 (patch)
treeca18ebd2eb156654d26bf6855d27f291a2a942fe /hw/darwin
parent8444a1f3918b0433f89cae31673ab63628b4543d (diff)
Fix a couple of bugs in the offscreen allocator. One mostly harmless was
causing our search loop for evictable blocks to possibly skip a good candiate, and another was the allocator would occasionally use area->offset as if it was the base of the pixmap, while for a pixmap that is not in available state, it is not. This caused some funny miscalculation leading to overlapping pixmaps and accesses beyond the end of the framebuffer. To make things cleared, I renamed save_offset to base_offset, made sure it's the one used everywhere in the allocator, and only align "offset" for the client at the end of exaOffscreenAlloc().
Diffstat (limited to 'hw/darwin')
0 files changed, 0 insertions, 0 deletions