summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-05-25 14:45:39 +0400
committerDavid Herrmann <dh.herrmann@gmail.com>2014-07-08 02:29:16 +0400
commitab5a60c3ee41ff22304e2bcf63c151aa2851df0c (patch)
treefcdfe459bbbd820c7f46df819f179b29d91e3c2c /drivers/devfreq
parent4661270797f0c172da4b54415574421cd27f1bf3 (diff)
downloadlinux-ab5a60c3ee41ff22304e2bcf63c151aa2851df0c.tar.xz
drm/omap: use __GFP_DMA32 for shmem-backed gem
OMAP requires bo-pages to be in the DMA32 zone. Explicitly request this by setting __GFP_DMA32 as mapping-gfp-mask during shmem initialization. This drops HIGHMEM from the gfp-mask and uses DMA32 instead. shmem-core takes care to relocate pages during swap-in in case they have been loaded into the wrong zone. It is _not_ possible to pass __GFP_DMA32 to shmem_read_mapping_page_gfp() as the page might have already been swapped-in at that time. The zone-mask must be set during initialization and be kept constant for now. Remove the now superfluous TODO in omap_gem.c. Reviewed-by: Rob Clark <robdclark@gmail.com> Tested-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions