Lines Matching full:gm
52 node = &vgpu->gm.high_gm_node; in alloc_gm()
58 node = &vgpu->gm.low_gm_node; in alloc_gm()
74 gvt_err("fail to alloc %s gm space from host\n", in alloc_gm()
94 gvt_dbg_core("vgpu%d: alloc low GM start %llx size %llx\n", vgpu->id, in alloc_vgpu_gm()
97 gvt_dbg_core("vgpu%d: alloc high GM start %llx size %llx\n", vgpu->id, in alloc_vgpu_gm()
103 drm_mm_remove_node(&vgpu->gm.low_gm_node); in alloc_vgpu_gm()
114 drm_mm_remove_node(&vgpu->gm.low_gm_node); in free_vgpu_gm()
115 drm_mm_remove_node(&vgpu->gm.high_gm_node); in free_vgpu_gm()
237 gvt->gm.vgpu_allocated_low_gm_size -= vgpu_aperture_sz(vgpu); in free_resource()
238 gvt->gm.vgpu_allocated_high_gm_size -= vgpu_hidden_sz(vgpu); in free_resource()
254 item = "low GM space"; in alloc_resource()
256 taken = gvt->gm.vgpu_allocated_low_gm_size; in alloc_resource()
265 item = "high GM space"; in alloc_resource()
267 taken = gvt->gm.vgpu_allocated_high_gm_size; in alloc_resource()
287 gvt->gm.vgpu_allocated_low_gm_size += conf->low_mm; in alloc_resource()
288 gvt->gm.vgpu_allocated_high_gm_size += conf->high_mm; in alloc_resource()