]> git.baikalelectronics.ru Git - 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)
commit591d9be5057833e701e88a0dee120fc5a9a4da2e
treeeb54c123e2c0c4257ee5b9cc0fe5e8e580afa66d
parentb73191a06cbbb6daf2f7561aaa54cb6b374f549f
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