Home
last modified time | relevance | path

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

/external/libdrm/nouveau/
Dpushbuf.c60 struct nouveau_pushbuf_krec *krec; member
87 struct nouveau_pushbuf_krec *krec = nvpb->krec; in pushbuf_kref_fits() local
98 if (krec->vram_used + bo->size > dev->vram_limit) in pushbuf_kref_fits()
100 krec->vram_used += bo->size; in pushbuf_kref_fits()
108 if (krec->gart_used + bo->size <= dev->gart_limit) { in pushbuf_kref_fits()
109 krec->gart_used += bo->size; in pushbuf_kref_fits()
117 krec->vram_used + bo->size <= dev->vram_limit) { in pushbuf_kref_fits()
119 krec->vram_used += bo->size; in pushbuf_kref_fits()
127 kref = krec->buffer; in pushbuf_kref_fits()
128 for (i = 0; i < krec->nr_buffer; i++, kref++) { in pushbuf_kref_fits()
[all …]