[PATCH v2 01/22] drm/i915/gvt: Rework shadow graphic memory management code
Zhenyu Wang
zhenyuw at linux.intel.com
Fri Dec 22 03:05:29 UTC 2017
On 2017.12.20 17:39:06 +0800, changbin.du at intel.com wrote:
> From: Changbin Du <changbin.du at intel.com>
>
> This is a big one and the GVT shadow graphic memory management code is
> heavily refined. The new code is more straightforward with less code.
>
> The struct intel_vgpu_mm is restructured to be clearly defined, use
> accurate names and some of the original fields are removed which are
> really redundant.
>
> Now we only manage ppgtt mm object with mm->ppgtt_mm.lru_list. No need
> to mix ppgtt and ggtt together, since one vGPU only has one ggtt object.
>
> The reference count of mm obj is unified and define clear interface.
>
> Some GEM assertions are added to verify our code. The can prevent bugs
> in developing stage.
>
> And also there are some other refines, but they're hard to split because
> I need ensure each patch is compileable at least.
>
It's difficult to review whole this in one and I was lost in half way..
looks too many different changes mixed together, better to do more split
for easy review.
--
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/20171222/cd5af87b/attachment.sig>
More information about the intel-gvt-dev
mailing list