]> 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)
commit61fb6d0bc13a86a30665bfdea817a3588754ecf5
treec934cc84af9652727a16771ad4cea078d901c0be
parent0c539d5658cc352c2590ce016a59abc3467262a6
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