]> err.no Git - linux-2.6/commit
drm: Unify radeon offset checking.
author=?utf-8?q?Michel_D=C3=A4nzer?= <michel@tungstengraphics.com>
Fri, 15 Dec 2006 07:54:35 +0000 (18:54 +1100)
committerDave Airlie <airlied@linux.ie>
Fri, 15 Dec 2006 07:54:35 +0000 (18:54 +1100)
commit1d6bb8e51dba3db1c15575901022fe72d363e5a4
treed7a3a26d427050ab3d7ca76d9df5083afc3df888
parent3188a24c256bae0ed93d81d82db1f1bb6060d727
drm: Unify radeon offset checking.

Replace r300_check_offset() with generic radeon_check_offset(), which doesn't
reject valid offsets when the framebuffer area is at the very end of the card's
32 bit address space. Make radeon_check_and_fixup_offset() use
radeon_check_offset() as well.

This fixes https://bugs.freedesktop.org/show_bug.cgi?id=7697 .
drivers/char/drm/r300_cmdbuf.c
drivers/char/drm/radeon_drv.h
drivers/char/drm/radeon_state.c