]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: return error code if dma map iova failed
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Tue, 14 Feb 2017 09:15:54 +0000 (17:15 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 14 Feb 2017 09:35:39 +0000 (17:35 +0800)
commit73ea6a630322efcaf6058aa020b85d2ea2168f8e
tree7f8a303902da4c70155005da454dd7cb66629444
parent1fe17491a14482bb495bdbb9899546c3742bf3d7
drm/i915/gvt: return error code if dma map iova failed

When doing dma map failed for a pfn, kvmgt should unpin the
pfn and return error code to device module driver

Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Cc: xinda.zhao@intel.com
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c