[PATCH 0/3] split 3 small locks from big gvt lock
Zhenyu Wang
zhenyuw at linux.intel.com
Thu Jan 25 07:55:42 UTC 2018
On 2018.01.25 15:09:24 +0800, pei.zhang at intel.com wrote:
> From: Pei Zhang <pei.zhang at intel.com>
>
> This serial patches will split out 3 small locks from the original big gvt lock, which are:
> 1. per-vGPU lock, it will protect the per-vGPU data and logic, especially the vGPU trap emulation path.
> 2. schedule lock, it will protect the context schedule logic. Protect the gvt scheudler structure and vGPU's schedule data.
> 3. gtt lock, it's used to protect the gvt global gtt oos lists.
> While the 3 new locks are used, the origianl gvt lock will be rarely used. One usage example is to protect the available vGPU list.
>
> Pei Zhang (3):
> drm/i915/gvt: [small locks] use gtt lock to protect gtt list
> drm/i915/gvt: [small locks] use per vgpu lock
> drm/i915/gvt: [small locks] use scheduler lock
>
btw pls not include "[..]" in patch title, you can add like [PATCH x/y - small lock] if you like,
then those will be ignored when applying.
thanks
> drivers/gpu/drm/i915/gvt/display.c | 11 +++----
> drivers/gpu/drm/i915/gvt/gtt.c | 56 ++++++++++++++++++++++++++++-----
> drivers/gpu/drm/i915/gvt/gvt.c | 7 ++---
> drivers/gpu/drm/i915/gvt/gvt.h | 18 +++++++++++
> drivers/gpu/drm/i915/gvt/handlers.c | 2 ++
> drivers/gpu/drm/i915/gvt/mmio.c | 12 +++----
> drivers/gpu/drm/i915/gvt/sched_policy.c | 41 ++++++++++++++++++++----
> drivers/gpu/drm/i915/gvt/scheduler.c | 21 ++++++++-----
> drivers/gpu/drm/i915/gvt/vgpu.c | 56 +++++++++++++++------------------
> 9 files changed, 154 insertions(+), 70 deletions(-)
>
> --
> 2.7.4
>
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20180125/6a9165d1/attachment.sig>
More information about the intel-gvt-dev
mailing list