commit | c754936fe66c45d2075970dc1e6ebdfeec4df6f3 | [log] [tgz] |
---|---|---|
author | Xiaoguang Chen <xiaoguang.chen@intel.com> | Thu Nov 03 18:38:30 2016 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Thu Nov 10 15:42:39 2016 +0800 |
tree | 203ad09eb6603e7584836985621ecb8b0e2e6879 | |
parent | 9baf0920b5d8e4e4ea302cb954168e06cf838d63 [diff] |
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>