gma500: Set the mapping mask
authorAlan Cox <alan@linux.intel.com>
Wed, 25 Apr 2012 13:38:47 +0000 (14:38 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Apr 2012 08:24:36 +0000 (09:24 +0100)
commit398b4706896ee8d8e72f215a089b58637add5c92
treec934cc84af9652727a16771ad4cea078d901c0be
parentae0a246aef0d185db2947912fe9cf7dae1d91b7a
gma500: Set the mapping mask

Some boards such as the Intel D2700MUD allow you to have over 4GB of RAM.
The GTT on the PVR based devices is 32bit however. Hugh Dickins points out
that we should therefore be setting the mapping gfp mask.

This is not the whole fix for the problem. Some further shmem patches will
be needed to deal with the corner cases.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/gem.c
drivers/gpu/drm/gma500/gtt.c