drm/i915/gvt: use kmap instead of kmap_atomic around guest memory access
authorXiaoguang Chen <xiaoguang.chen@intel.com>
Thu, 3 Nov 2016 10:38:30 +0000 (18:38 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 10 Nov 2016 07:42:39 +0000 (15:42 +0800)
commitc754936fe66c45d2075970dc1e6ebdfeec4df6f3
tree203ad09eb6603e7584836985621ecb8b0e2e6879
parent9baf0920b5d8e4e4ea302cb954168e06cf838d63
drm/i915/gvt: use kmap instead of kmap_atomic around guest memory access

kmap_atomic doesn't allow sleep until unmapped. However,
it's necessary to allow sleep during reading/writing guest
memory, so use kmap instead.

Signed-off-by: Bing Niu <bing.niu@intel.com>
Signed-off-by: Xiaoguang Chen <xiaoguang.chen@intel.com>
Signed-off-by: Jike Song <jike.song@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/scheduler.c