commit | 7e60946feb4287111dc61a13ee66ea4295f4f6b4 | [log] [tgz] |
---|---|---|
author | Xiong Zhang <xiong.y.zhang@intel.com> | Tue Mar 06 06:07:27 2018 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Tue Mar 06 14:49:24 2018 +0800 |
tree | 495e4e62ea334ef98e3da7d89ef9f272057662c1 | |
parent | 6846dfeb87a623e0bf31df4b6a7041d70277b0e5 [diff] |
drm/i915/gvt: Release gvt->lock at the failure of finding page track page_track_handler take lock at the beginning, the lock should be released at the failure of finding page track. Otherwise deadlock will happen. Fixes: e502a2af4c35 ("drm/i915/gvt: Provide generic page_track infrastructure for write-protected page") Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>