diff options
author | fred gao <fred.gao@intel.com> | 2017-08-18 15:41:09 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-09-08 14:21:15 +0800 |
commit | 46b441efa374cf1581c267a16089c205f2fc0ded (patch) | |
tree | 0082ef6ea7ccbc427f9c076b7a8fac6cb10167d9 /drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c | |
parent | 0cce2823ed37b75555749c0969528d8c74887ada (diff) |
drm/i915/gvt: Refine error handling for intel_vgpu_pin_mm
When it is failed in shadow_mm, the pin_count should rollback
to the original states before return.
v2:
- split the mixed several error paths for better review. (Zhenyu)
v3:
increase the pincount after shadow success. (Zhenyu)
Signed-off-by: fred gao <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c')
0 files changed, 0 insertions, 0 deletions