]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Fix u32 overflows when determining AGP base address in card space.
authorMichel Dänzer <michel@tungstengraphics.com>
Sun, 18 Feb 2007 07:03:21 +0000 (18:03 +1100)
committerDave Airlie <airlied@linux.ie>
Sun, 11 Mar 2007 01:07:17 +0000 (12:07 +1100)
commit13530748304d634fc83391f430291c13785e8a21
tree348ad7e0937f79bf58821aa96afa46ed702bd8d7
parent5c0966215dcf270eece5f8fd8541d825ab5f7dda
drm/radeon: Fix u32 overflows when determining AGP base address in card space.

The overflows could lead to the AGP aperture overlapping the framebuffer are    in the card's address space when the latter is located at the very end of th    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 .

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/radeon_cp.c