diff options
author | 2022-11-10 12:20:34 +0000 | |
---|---|---|
committer | 2023-01-04 23:21:19 +0800 | |
commit | a06d4b9e15c0ea4e05b200cfb1f1050e785a5e87 (patch) | |
tree | 938ffdc3fd9d95d703933c3387c471005a43a3d1 /tools/perf/scripts/python | |
parent | drm/i915/gvt: fix vgpu debugfs clean in remove (diff) | |
download | linux-rng-a06d4b9e15c0ea4e05b200cfb1f1050e785a5e87.tar.xz linux-rng-a06d4b9e15c0ea4e05b200cfb1f1050e785a5e87.zip |
drm/i915/gvt: use atomic operations to change the vGPU status
Several vGPU status are used to decide the availability of GVT-g core
logics when creating a vGPU. Use atomic operations on changing the vGPU
status to avoid the racing.
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: intel-gvt-dev@lists.freedesktop.org
Suggested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20221110122034.3382-2-zhi.a.wang@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions