android_kernel_xiaomi_sdm845/drivers/gpu
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
..
drm drm: radeon: Fix unaligned access in r300_scratch(). 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