[PATCH v5 00/16] drm/i915/gvt: Refine the gtt shadowing
Zhenyu Wang
zhenyuw at linux.intel.com
Mon Feb 5 07:48:28 UTC 2018
On 2018.01.30 19:19:39 +0800, changbin.du at intel.com wrote:
> From: Changbin Du <changbin.du at intel.com>
>
> This is the first part of patch set "drm/i915/gvt: Add support for huge gtt
> (2M/64K)". The GTT related code are refined. I just need a clean code base to
> add new feature.
>
> This serias has been tested in all three ppgtt modes: aliasing, full and full
> with extended address space.
>
> v5: fix warn msg 'fail to find shadow page'.
> v4:
> - add new one to refine mpt definition.
> - clean up gtt.n_tracked_guest_page.
> v3: Rebase and improvement.
> v2: Some new small patches are created by spliting changes from the two big ones.
>
Applied to gvt-next, thanks!
> Changbin Du (16):
> drm/i915/gvt: Rework shadow graphic memory management code
> drm/i915/gvt: Refine the intel_vgpu_mm reference management
> drm/i915/gvt: Refine ggtt and ppgtt root entry ops
> drm/i915/gvt: Refine ggtt_set_shadow_entry
> drm/i915/gvt: Add verbose gtt shadow logs
> drm/i915/gvt: Rename ggtt related functions to be more specific
> drm/i915/gvt: Factor out intel_vgpu_{get,put}_ppgtt_mm interface
> drm/i915/gvt: Use standard pte bit definition
> drm/i915/gvt: Refine pte shadowing process
> drm/i915/gvt: Rework shadow page management code
> drm/i915/gvt: Rename shadow_page to short name spt
> drm/i915/gvt: Rename mpt api {set,unset}_wp_page to
> {enable,disable}_page_track
> drm/i915/gvt: Don't extend page_track to mpt layer
> drm/i915/gvt: Provide generic page_track infrastructure for
> write-protected page
> drm/i915/gvt: Manage shadow pages with radix tree
> drm/i915/gvt: Define PTE addr mask with GENMASK_ULL
>
> drivers/gpu/drm/i915/gvt/Makefile | 2 +-
> drivers/gpu/drm/i915/gvt/gtt.c | 1431 +++++++++++++++------------------
> drivers/gpu/drm/i915/gvt/gtt.h | 189 ++---
> drivers/gpu/drm/i915/gvt/gvt.c | 2 +-
> drivers/gpu/drm/i915/gvt/gvt.h | 2 +
> drivers/gpu/drm/i915/gvt/handlers.c | 22 +-
> drivers/gpu/drm/i915/gvt/hypercall.h | 4 +-
> drivers/gpu/drm/i915/gvt/kvmgt.c | 8 +-
> drivers/gpu/drm/i915/gvt/mmio.c | 9 +-
> drivers/gpu/drm/i915/gvt/mpt.h | 39 +-
> drivers/gpu/drm/i915/gvt/page_track.c | 181 +++++
> drivers/gpu/drm/i915/gvt/page_track.h | 56 ++
> drivers/gpu/drm/i915/gvt/scheduler.c | 39 +-
> drivers/gpu/drm/i915/gvt/trace.h | 10 +-
> drivers/gpu/drm/i915/gvt/vgpu.c | 1 +
> 15 files changed, 996 insertions(+), 999 deletions(-)
> create mode 100644 drivers/gpu/drm/i915/gvt/page_track.c
> create mode 100644 drivers/gpu/drm/i915/gvt/page_track.h
>
> --
> 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/20180205/517cf2f4/attachment.sig>
More information about the intel-gvt-dev
mailing list