diff options
author | Ping Gao <ping.a.gao@intel.com> | 2017-03-30 00:36:37 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-03-30 13:33:58 +0800 |
commit | bc90d097ae144fab1f789f8523b621de7125c6a8 (patch) | |
tree | 44601a644c9de39dfa6900d51412faab207b0152 /drivers/gpu/drm/omapdrm/omap_irq.c | |
parent | 32356920dae17ef3b04fe02a113418c983fc66ce (diff) |
drm/i915/gvt: define weight according to vGPU type
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@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
0 files changed, 0 insertions, 0 deletions