diff options
author | Sean Christopherson <seanjc@google.com> | 2022-11-11 03:22:25 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2022-11-11 08:21:52 +0300 |
commit | 3c9fd44b9330adc5006653566f3d386784b2080e (patch) | |
tree | ff5b573a176fa600ccdacc7e893ac62b6704b58a /tools/perf/scripts/python/stackcollapse.py | |
parent | 9ed1fdee9ee324f3505ff066287ee53143caaaa2 (diff) | |
download | linux-3c9fd44b9330adc5006653566f3d386784b2080e.tar.xz |
drm/i915/gvt: Unconditionally put reference to KVM when detaching vGPU
Always put the KVM reference when closing a vCPU device, as
intel_vgpu_open_device() succeeds if and only if the KVM pointer is
valid and a reference to KVM is acquired. And if that doesn't hold true,
the call to kvm_page_track_unregister_notifier() a few lines earlier is
doomed.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20221111002225.2418386-3-seanjc@google.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions