]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfdbdf064910760008ebda5039e1770aa6b4c85d1
treec934cc84af9652727a16771ad4cea078d901c0be
parentea2494414f47c5dbcd5f1db431bf8d8996b0ab56
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