Home
last modified time | relevance | path

Searched refs:vgpu_types (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/gvt/
Dvgpu.c91 } vgpu_types[] = { variable
126 num_types = sizeof(vgpu_types) / sizeof(vgpu_types[0]); in intel_gvt_init_vgpu_types()
135 if (low_avail / vgpu_types[i].low_mm == 0) in intel_gvt_init_vgpu_types()
138 gvt->types[i].low_gm_size = vgpu_types[i].low_mm; in intel_gvt_init_vgpu_types()
139 gvt->types[i].high_gm_size = vgpu_types[i].high_mm; in intel_gvt_init_vgpu_types()
140 gvt->types[i].fence = vgpu_types[i].fence; in intel_gvt_init_vgpu_types()
142 if (vgpu_types[i].weight < 1 || in intel_gvt_init_vgpu_types()
143 vgpu_types[i].weight > VGPU_MAX_WEIGHT) in intel_gvt_init_vgpu_types()
146 gvt->types[i].weight = vgpu_types[i].weight; in intel_gvt_init_vgpu_types()
147 gvt->types[i].resolution = vgpu_types[i].edid; in intel_gvt_init_vgpu_types()
[all …]