drm: add __GFP_COMP to the drm_alloc_pages

The DRM only uses drm_alloc_pages for non-SG PCI cards using DRM.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>

authored by Dave Airlie and committed by Dave Airlie c41f4712 bd07ed2b

+2 -2
+1 -1
drivers/char/drm/drm_memory.c
··· 95 95 unsigned long addr; 96 96 unsigned int sz; 97 97 98 - address = __get_free_pages(GFP_KERNEL, order); 98 + address = __get_free_pages(GFP_KERNEL|__GFP_COMP, order); 99 99 if (!address) 100 100 return 0; 101 101
+1 -1
drivers/char/drm/drm_memory_debug.h
··· 221 221 } 222 222 spin_unlock(&DRM(mem_lock)); 223 223 224 - address = __get_free_pages(GFP_KERNEL, order); 224 + address = __get_free_pages(GFP_KERNEL|__GFP_COMP, order); 225 225 if (!address) { 226 226 spin_lock(&DRM(mem_lock)); 227 227 ++DRM(mem_stats)[area].fail_count;