mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
drm/rockchip: priority use of highmem
Change-Id: Ib1f65ef5ed8afe15bc40b78cb756f6be6ba7687d Signed-off-by: Meiyou Chen <cmy@rock-chips.com>
This commit is contained in:
parent
7b43537ed9
commit
e5e9f55c57
|
|
@ -593,7 +593,8 @@ rockchip_gem_alloc_object(struct drm_device *drm, unsigned int size)
|
|||
drm_gem_object_init(drm, obj, size);
|
||||
|
||||
mapping = file_inode(obj->filp)->i_mapping;
|
||||
mapping_set_gfp_mask(mapping, GFP_USER | __GFP_DMA32);
|
||||
mapping_set_gfp_mask(mapping, GFP_HIGHUSER | __GFP_RECLAIMABLE
|
||||
| __GFP_DMA32);
|
||||
|
||||
return rk_obj;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user