[PATCH v5 5/8] drm/i915/gvt: define weight according to vGPU type
Tian, Kevin
kevin.tian at intel.com
Wed Mar 29 03:12:06 UTC 2017
> From: Ping Gao
> Sent: Tuesday, March 28, 2017 2:48 PM
>
> The weight define proportional control of the vGPU resource between vGPUs,
> different vGPU types has different fixed weight definition.
> If different type vGPUs been created at the same time, the vGPU resource
> ratio between them is equal with ratio of weight.
What about below?
The weight defines proportional control of physical GPU resource shared
between vGPUs. So far the weight is tied to a specific vGPU type, i.e when
creating multiple vGPUs with different types, they will inherit different
weights.
>
> e.g. The weight of type GVTg_V5_2 is 8, the weight of type GVTg_V5_4 is 4, so
> vGPU of type GVTg_V5_2 has double vGPU resource of vGPU type
> GVTg_V5_4.
>
> TODO: allow user control the weight setting in the future.
>
> Signed-off-by: Ping Gao <ping.a.gao at intel.com>
Reviewed-by: Kevin Tian <kevin.tian at intel.com>
More information about the intel-gvt-dev
mailing list