drm/exynos: use alloc_page() to allocate pages.
authorInki Dae <inki.dae@samsung.com>
Thu, 7 Jun 2012 06:59:48 +0000 (15:59 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 27 Jul 2012 02:13:56 +0000 (11:13 +0900)
commitc62bc752f2d8cbaaa1fd15fa1bcdf10fb90568c0
treefa8ce56ead2a0bbaffcff65343cfc85064ebddeb
parentf91f2f331e0d0c640677abbc1a4fa98222ab725a
drm/exynos: use alloc_page() to allocate pages.

shmem_read_mapping_page_gfp() first tries to allocate pages from page cache
so if pages are allocated from page cache then these pages could have
valid cache line. after that cpu may read garbage data from cache
once gpu operation is completed with allocated pages. so with this patch,
Non-contiguous memory allocation request allocates pages from highmem
through alloc_page() with GFP_HIGHUSER_MOVABLE.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c