Home
last modified time | relevance | path

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

/third_party/libdrm/freedreno/
Dfreedreno_bo.c111 bo->bo_reuse = BO_CACHE; in fd_bo_new()
125 bo->bo_reuse = RING_CACHE; in fd_bo_new_ring()
242 if ((bo->bo_reuse == BO_CACHE) && (fd_bo_cache_free(&dev->bo_cache, bo) == 0)) in fd_bo_del()
244 if ((bo->bo_reuse == RING_CACHE) && (fd_bo_cache_free(&dev->ring_cache, bo) == 0)) in fd_bo_del()
294 bo->bo_reuse = NO_CACHE; in fd_bo_get_name()
318 bo->bo_reuse = NO_CACHE; in fd_bo_dmabuf()
Dfreedreno_priv.h170 } bo_reuse; member
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_bo.c127 bo->bo_reuse = BO_CACHE; in _fd_bo_new()
148 bo->bo_reuse = RING_CACHE; in fd_bo_new_ring()
272 if ((bo->bo_reuse == BO_CACHE) && in bo_del_or_recycle()
276 if ((bo->bo_reuse == RING_CACHE) && in bo_del_or_recycle()
395 bo->bo_reuse = NO_CACHE; in fd_bo_get_name()
408 bo->bo_reuse = NO_CACHE; in fd_bo_handle()
425 bo->bo_reuse = NO_CACHE; in fd_bo_dmabuf()
Dfreedreno_pipe.c83 pipe->control_mem->bo_reuse = NO_CACHE; in fd_pipe_new2()
Dfreedreno_priv.h299 } bo_reuse : 2; member
/third_party/mesa3d/src/gallium/drivers/crocus/
Ddriinfo_crocus.h10 DRI_CONF_OPT_E(bo_reuse, 1, 0, 1, "Buffer object reuse",)
Dcrocus_bufmgr.c165 bool bo_reuse:1; member
428 bo->reusable = bucket && bufmgr->bo_reuse; in bo_alloc_internal()
1631 crocus_bufmgr_create(struct intel_device_info *devinfo, int fd, bool bo_reuse) in crocus_bufmgr_create() argument
1656 bufmgr->bo_reuse = bo_reuse; in crocus_bufmgr_create()
1693 crocus_bufmgr_get_for_fd(struct intel_device_info *devinfo, int fd, bool bo_reuse) in crocus_bufmgr_get_for_fd() argument
1709 assert(iter_bufmgr->bo_reuse == bo_reuse); in crocus_bufmgr_get_for_fd()
1715 bufmgr = crocus_bufmgr_create(devinfo, fd, bo_reuse); in crocus_bufmgr_get_for_fd()
Dcrocus_screen.c767 bool bo_reuse = false; in crocus_screen_create() local
773 bo_reuse = true; in crocus_screen_create()
777 screen->bufmgr = crocus_bufmgr_get_for_fd(&screen->devinfo, fd, bo_reuse); in crocus_screen_create()
Dcrocus_bufmgr.h307 bool bo_reuse);
/third_party/mesa3d/src/gallium/drivers/iris/
Ddriinfo_iris.h11 DRI_CONF_OPT_E(bo_reuse, 1, 0, 1, "Buffer object reuse",)
Diris_bufmgr.c237 bool bo_reuse:1; member
1051 bo->real.reusable = bucket && bufmgr->bo_reuse; in iris_bo_alloc()
2237 iris_bufmgr_create(struct intel_device_info *devinfo, int fd, bool bo_reuse) in iris_bufmgr_create() argument
2268 bufmgr->bo_reuse = bo_reuse; in iris_bufmgr_create()
2379 iris_bufmgr_get_for_fd(struct intel_device_info *devinfo, int fd, bool bo_reuse) in iris_bufmgr_get_for_fd() argument
2395 assert(iter_bufmgr->bo_reuse == bo_reuse); in iris_bufmgr_get_for_fd()
2401 bufmgr = iris_bufmgr_create(devinfo, fd, bo_reuse); in iris_bufmgr_get_for_fd()
Diris_screen.c784 bool bo_reuse = false; in iris_screen_create() local
790 bo_reuse = true; in iris_screen_create()
794 screen->bufmgr = iris_bufmgr_get_for_fd(&screen->devinfo, fd, bo_reuse); in iris_screen_create()
Diris_bufmgr.h440 int fd, bool bo_reuse);
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c187 bool bo_reuse:1; member
938 if (bufmgr->bo_reuse && bo->reusable && bucket != NULL && in bo_unreference_final()
1845 brw_bufmgr_create(struct intel_device_info *devinfo, int fd, bool bo_reuse) in brw_bufmgr_create() argument
1882 bufmgr->bo_reuse = bo_reuse; in brw_bufmgr_create()
1931 brw_bufmgr_get_for_fd(struct intel_device_info *devinfo, int fd, bool bo_reuse) in brw_bufmgr_get_for_fd() argument
1947 assert(iter_bufmgr->bo_reuse == bo_reuse); in brw_bufmgr_get_for_fd()
1953 bufmgr = brw_bufmgr_create(devinfo, fd, bo_reuse); in brw_bufmgr_get_for_fd()
Dbrw_bufmgr.h354 int fd, bool bo_reuse);
Dbrw_screen.c58 DRI_CONF_OPT_E(bo_reuse, 1, 0, 1,
1892 bool bo_reuse = false; in brw_init_bufmgr() local
1898 bo_reuse = true; in brw_init_bufmgr()
1902 screen->bufmgr = brw_bufmgr_get_for_fd(&screen->devinfo, dri_screen->fd, bo_reuse); in brw_init_bufmgr()
/third_party/libdrm/intel/
Dintel_bufmgr_gem.c145 unsigned int bo_reuse : 1; member
1397 if (bufmgr_gem->bo_reuse && bo_gem->reusable && bucket != NULL && in drm_intel_gem_bo_unreference_final()
2781 bufmgr_gem->bo_reuse = true; in drm_intel_bufmgr_gem_enable_reuse()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c52 DRI_CONF_OPT_E(bo_reuse, 1, 0, 1,
/third_party/mesa3d/docs/relnotes/
D19.3.0.rst2067 - iris: Actually describe bo_reuse driconf option
3197 - i965: initialize bo_reuse when creating brw_bufmgr
3198 - iris: use driconf for 'bo_reuse' parameter