OSDN Git Service

radeon: Fix u32 overflows when determining AGP base address in card space.
authorMichel Dänzer <michel@tungstengraphics.com>
Thu, 11 Jan 2007 08:02:07 +0000 (09:02 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Thu, 11 Jan 2007 08:02:07 +0000 (09:02 +0100)
commit8ff026723cf170034173052a58c650c8c1f28c0b
tree3d7e609f156608ed533c146fb448e5e829340be2
parent125f3ff36796c8d28c29e960247fdd42d4cd877c
radeon: Fix u32 overflows when determining AGP base address in card space.

The overflows could lead to the AGP aperture overlapping the framebuffer area
in the card's address space when the latter is located at the very end of the
32 bit address space, which would result in a freeze on X server startup,
probably because the card read commands from the framebuffer instead of from
AGP.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392915 .
shared-core/radeon_cp.c