• Inki Dae's avatar
    drm/exynos: use alloc_page() to allocate pages. · c62bc752
    Inki Dae authored
    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: default avatarInki Dae <inki.dae@samsung.com>
    Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
    c62bc752
exynos_drm_gem.c 18.1 KB