Searched refs:curbe_bo (Results 1 – 3 of 3) sorted by relevance
284 if (brw->curbe.curbe_bo != NULL && in brw_upload_constant_buffer()296 if (brw->curbe.curbe_bo != NULL && in brw_upload_constant_buffer()297 brw->curbe.curbe_next_offset + bufsz > brw->curbe.curbe_bo->size) in brw_upload_constant_buffer()299 drm_intel_gem_bo_unmap_gtt(brw->curbe.curbe_bo); in brw_upload_constant_buffer()300 drm_intel_bo_unreference(brw->curbe.curbe_bo); in brw_upload_constant_buffer()301 brw->curbe.curbe_bo = NULL; in brw_upload_constant_buffer()304 if (brw->curbe.curbe_bo == NULL) { in brw_upload_constant_buffer()308 brw->curbe.curbe_bo = drm_intel_bo_alloc(brw->intel.bufmgr, "CURBE", in brw_upload_constant_buffer()311 drm_intel_gem_bo_map_gtt(brw->curbe.curbe_bo); in brw_upload_constant_buffer()321 memcpy(brw->curbe.curbe_bo->virtual + brw->curbe.curbe_offset, in brw_upload_constant_buffer()[all …]
77 dri_bo_release(&brw->curbe.curbe_bo); in brw_destroy_context()160 if (brw->curbe.curbe_bo) { in brw_finish_batch()161 drm_intel_gem_bo_unmap_gtt(brw->curbe.curbe_bo); in brw_finish_batch()162 drm_intel_bo_unreference(brw->curbe.curbe_bo); in brw_finish_batch()163 brw->curbe.curbe_bo = NULL; in brw_finish_batch()
866 drm_intel_bo *curbe_bo; member