]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/gvt: cleanup GFP flags
authorJike Song <jike.song@intel.com>
Mon, 9 Jan 2017 07:38:38 +0000 (15:38 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jan 2017 09:31:05 +0000 (17:31 +0800)
commit9631739f8196ec80b5d9bf955f79b711490c0205
treeeb54c123e2c0c4257ee5b9cc0fe5e8e580afa66d
parent5753394b64a07dd502cb288a5fd52e71fb01fc5d
drm/i915/gvt: cleanup GFP flags

In gvt, almost all memory allocations are in sleepable contexts. It's
fault-prone to use GFP_ATOMIC everywhere. Replace it with GFP_KERNEL
wherever possible.

Signed-off-by: Jike Song <jike.song@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gtt.c