CVS Update: xc (branch: trunk)
Benjamin Herrenschmidt
xorg-commit at cvs.freedesktop.org
Wed Oct 12 02:11:37 EEST 2005
CVSROOT: /cvs/xorg
Module name: xc
Changes by: benh at gabe.freedesktop.org 05/10/11 16:11:37
Log message:
* programs/Xserver/hw/xfree86/exa/exa.h:
* programs/Xserver/hw/xfree86/exa/exaoffscreen.c:
(ExaOffscreenValidate), (exaOffscreenAlloc), (exaOffscreenFree),
(exaOffscreenInit):
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().
Modified files:
./:
ChangeLog
xc/programs/Xserver/hw/xfree86/exa/:
exaoffscreen.c exa.h
Revision Changes Path
1.1422 +17 -0 xc/ChangeLog
http://cvs.freedesktop.org/xorg/xc/ChangeLog
1.9 +18 -16 xc/programs/Xserver/hw/xfree86/exa/exaoffscreen.c
http://cvs.freedesktop.org/xorg/xc/programs/Xserver/hw/xfree86/exa/exaoffscreen.c
1.8 +3 -3 xc/programs/Xserver/hw/xfree86/exa/exa.h
http://cvs.freedesktop.org/xorg/xc/programs/Xserver/hw/xfree86/exa/exa.h
More information about the xorg-commit
mailing list