linux-stable/drivers/gpu/drm/radeon
David Miller 958a6f8ccb drm: radeon: Fix unaligned access in r300_scratch().
In compat mode, the cmdbuf->buf 64-bit address cookie can
potentially be only 32-bit aligned.  Dereferencing this as
64-bit causes expensive unaligned traps on platforms like
sparc64.

Use get_unaligned() to fix.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-03-13 14:24:04 +10:00
..
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
r300_cmdbuf.c drm: radeon: Fix unaligned access in r300_scratch(). 2009-03-13 14:24:04 +10:00
r300_reg.h radeon: fix some hard lockups on r3/4/500s 2008-08-25 06:34:58 +10:00
radeon_cp.c drm: radeon: Use surface for PCI GART table. 2009-03-13 14:24:02 +10:00
radeon_drv.c drm: Drop unused and broken dri_library_name sysfs attribute. 2009-03-13 14:23:58 +10:00
radeon_drv.h drm: radeon: Use surface for PCI GART table. 2009-03-13 14:24:02 +10:00
radeon_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_irq.c drm/radeon: fix correctness of irq_enabled check for radeon. 2008-12-23 10:50:12 +10:00
radeon_mem.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_microcode.h drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_state.c drm: radeon: Use surface for PCI GART table. 2009-03-13 14:24:02 +10:00