drm/radeon/kms/atom: use get_unaligned_le32() for ctx->ps
authorMatt Turner <mattst88@gmail.com>
Sun, 14 Feb 2010 01:20:19 +0000 (20:20 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Feb 2010 01:19:14 +0000 (11:19 +1000)
commitce36f00d599e0f988c2a1b7b276d9184ee9c5d82
tree01a0bdc2ad14d46059be9f34929ca05ef2a7193b
parente22238ea37a870f70e34668a4992bde0c92bba8d
drm/radeon/kms/atom: use get_unaligned_le32() for ctx->ps

Noticed on a DEC Alpha.

Start up into console mode caused 15 unaligned accesses, and starting X
caused another 48.

Signed-off-by: Matt Turner <mattst88@gmail.com>
CC: Jerome Glisse <jglisse@redhat.com>
CC: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atom.c