Home
last modified time | relevance | path

Searched refs:madv (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/panfrost/encoder/
H A Dpan_bo.c207 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
209 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
217 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
218 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
269 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
272 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
273 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
274 madv.retained = 0; in panfrost_bo_cache_put()
276 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/msm/
H A Dmsm_gem.c635 if (GEM_WARN_ON(msm_obj->madv > madv)) { in get_vaddr()
637 msm_obj->madv, madv); in get_vaddr()
726 msm_obj->madv = madv; in msm_gem_madvise()
728 madv = msm_obj->madv; in msm_gem_madvise()
760 msm_obj->madv = __MSM_MADV_PURGED; in msm_gem_purge()
956 const char *madv; in msm_gem_describe() local
973 switch (msm_obj->madv) { in msm_gem_describe()
977 madv = " purged"; in msm_gem_describe()
982 madv = " purgeable"; in msm_gem_describe()
986 madv = ""; in msm_gem_describe()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/msm/
H A Dmsm_gem.c635 if (GEM_WARN_ON(msm_obj->madv > madv)) { in get_vaddr()
637 msm_obj->madv, madv); in get_vaddr()
726 msm_obj->madv = madv; in msm_gem_madvise()
728 madv = msm_obj->madv; in msm_gem_madvise()
760 msm_obj->madv = __MSM_MADV_PURGED; in msm_gem_purge()
956 const char *madv; in msm_gem_describe() local
973 switch (msm_obj->madv) { in msm_gem_describe()
977 madv = " purged"; in msm_gem_describe()
982 madv = " purgeable"; in msm_gem_describe()
986 madv = ""; in msm_gem_describe()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/msm/
H A Dmsm_gem.c635 if (GEM_WARN_ON(msm_obj->madv > madv)) { in get_vaddr()
637 msm_obj->madv, madv); in get_vaddr()
726 msm_obj->madv = madv; in msm_gem_madvise()
728 madv = msm_obj->madv; in msm_gem_madvise()
760 msm_obj->madv = __MSM_MADV_PURGED; in msm_gem_purge()
956 const char *madv; in msm_gem_describe() local
973 switch (msm_obj->madv) { in msm_gem_describe()
977 madv = " purged"; in msm_gem_describe()
982 madv = " purgeable"; in msm_gem_describe()
986 madv = ""; in msm_gem_describe()
[all …]
/dports/lang/clover/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/libosmesa/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/mesa-libs/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/graphics/mesa-dri/mesa-21.3.6/src/panfrost/lib/
H A Dpan_bo.c212 struct drm_panfrost_madvise madv = { in panfrost_bo_cache_fetch() local
214 .madv = PANFROST_MADV_WILLNEED, in panfrost_bo_cache_fetch()
222 ret = drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_fetch()
223 if (!ret && !madv.retained) { in panfrost_bo_cache_fetch()
277 struct drm_panfrost_madvise madv; in panfrost_bo_cache_put() local
280 madv.handle = bo->gem_handle; in panfrost_bo_cache_put()
281 madv.madv = PANFROST_MADV_DONTNEED; in panfrost_bo_cache_put()
282 madv.retained = 0; in panfrost_bo_cache_put()
284 drmIoctl(dev->fd, DRM_IOCTL_PANFROST_MADVISE, &madv); in panfrost_bo_cache_put()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/vc4/
H A Dvc4_bo.c300 bo->madv = __VC4_MADV_PURGED; in vc4_bo_purge()
333 if (bo->madv == VC4_MADV_DONTNEED && in vc4_bo_userspace_cache_purge()
396 bo->madv = VC4_MADV_WILLNEED; in vc4_create_object()
467 bo->madv = __VC4_MADV_NOTSUPP; in vc4_bo_create()
494 bo->madv = VC4_MADV_WILLNEED; in vc4_dumb_create()
577 bo->madv = __VC4_MADV_NOTSUPP; in vc4_free_object()
615 switch (bo->madv) { in vc4_bo_inc_usecnt()
650 bo->madv == VC4_MADV_DONTNEED) in vc4_bo_dec_usecnt()
718 bo->madv == VC4_MADV_DONTNEED ? in vc4_gem_object_mmap()
779 bo->madv = VC4_MADV_WILLNEED; in vc4_create_bo_ioctl()
[all …]
H A Dvc4_gem.c265 if (bo->madv == __VC4_MADV_NOTSUPP) in vc4_save_hang_state()
269 if (!WARN_ON(bo->madv == __VC4_MADV_PURGED)) in vc4_save_hang_state()
270 bo->madv = VC4_MADV_WILLNEED; in vc4_save_hang_state()
1320 switch (args->madv) { in vc4_gem_madvise_ioctl()
1340 if (bo->madv == __VC4_MADV_NOTSUPP) { in vc4_gem_madvise_ioctl()
1357 if (args->madv == VC4_MADV_DONTNEED && bo->madv == VC4_MADV_WILLNEED && in vc4_gem_madvise_ioctl()
1364 } else if (args->madv == VC4_MADV_WILLNEED && in vc4_gem_madvise_ioctl()
1365 bo->madv == VC4_MADV_DONTNEED && in vc4_gem_madvise_ioctl()
1374 args->retained = bo->madv != __VC4_MADV_PURGED; in vc4_gem_madvise_ioctl()
1377 if (bo->madv != __VC4_MADV_PURGED) in vc4_gem_madvise_ioctl()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/vc4/
H A Dvc4_bo.c300 bo->madv = __VC4_MADV_PURGED; in vc4_bo_purge()
333 if (bo->madv == VC4_MADV_DONTNEED && in vc4_bo_userspace_cache_purge()
396 bo->madv = VC4_MADV_WILLNEED; in vc4_create_object()
467 bo->madv = __VC4_MADV_NOTSUPP; in vc4_bo_create()
494 bo->madv = VC4_MADV_WILLNEED; in vc4_dumb_create()
577 bo->madv = __VC4_MADV_NOTSUPP; in vc4_free_object()
615 switch (bo->madv) { in vc4_bo_inc_usecnt()
650 bo->madv == VC4_MADV_DONTNEED) in vc4_bo_dec_usecnt()
718 bo->madv == VC4_MADV_DONTNEED ? in vc4_gem_object_mmap()
779 bo->madv = VC4_MADV_WILLNEED; in vc4_create_bo_ioctl()
[all …]
H A Dvc4_gem.c265 if (bo->madv == __VC4_MADV_NOTSUPP) in vc4_save_hang_state()
269 if (!WARN_ON(bo->madv == __VC4_MADV_PURGED)) in vc4_save_hang_state()
270 bo->madv = VC4_MADV_WILLNEED; in vc4_save_hang_state()
1320 switch (args->madv) { in vc4_gem_madvise_ioctl()
1340 if (bo->madv == __VC4_MADV_NOTSUPP) { in vc4_gem_madvise_ioctl()
1357 if (args->madv == VC4_MADV_DONTNEED && bo->madv == VC4_MADV_WILLNEED && in vc4_gem_madvise_ioctl()
1364 } else if (args->madv == VC4_MADV_WILLNEED && in vc4_gem_madvise_ioctl()
1365 bo->madv == VC4_MADV_DONTNEED && in vc4_gem_madvise_ioctl()
1374 args->retained = bo->madv != __VC4_MADV_PURGED; in vc4_gem_madvise_ioctl()
1377 if (bo->madv != __VC4_MADV_PURGED) in vc4_gem_madvise_ioctl()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/vc4/
H A Dvc4_bo.c300 bo->madv = __VC4_MADV_PURGED; in vc4_bo_purge()
333 if (bo->madv == VC4_MADV_DONTNEED && in vc4_bo_userspace_cache_purge()
396 bo->madv = VC4_MADV_WILLNEED; in vc4_create_object()
467 bo->madv = __VC4_MADV_NOTSUPP; in vc4_bo_create()
494 bo->madv = VC4_MADV_WILLNEED; in vc4_dumb_create()
577 bo->madv = __VC4_MADV_NOTSUPP; in vc4_free_object()
615 switch (bo->madv) { in vc4_bo_inc_usecnt()
650 bo->madv == VC4_MADV_DONTNEED) in vc4_bo_dec_usecnt()
718 bo->madv == VC4_MADV_DONTNEED ? in vc4_gem_object_mmap()
779 bo->madv = VC4_MADV_WILLNEED; in vc4_create_bo_ioctl()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c422 int drm_gem_shmem_madvise(struct drm_gem_object *obj, int madv) in drm_gem_shmem_madvise() argument
428 if (shmem->madv >= 0) in drm_gem_shmem_madvise()
429 shmem->madv = madv; in drm_gem_shmem_madvise()
431 madv = shmem->madv; in drm_gem_shmem_madvise()
435 return (madv >= 0); in drm_gem_shmem_madvise()
453 shmem->madv = -1; in drm_gem_shmem_purge_locked()
540 shmem->madv < 0) { in drm_gem_shmem_fault()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c422 int drm_gem_shmem_madvise(struct drm_gem_object *obj, int madv) in drm_gem_shmem_madvise() argument
428 if (shmem->madv >= 0) in drm_gem_shmem_madvise()
429 shmem->madv = madv; in drm_gem_shmem_madvise()
431 madv = shmem->madv; in drm_gem_shmem_madvise()
435 return (madv >= 0); in drm_gem_shmem_madvise()
453 shmem->madv = -1; in drm_gem_shmem_purge_locked()
540 shmem->madv < 0) { in drm_gem_shmem_fault()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c422 int drm_gem_shmem_madvise(struct drm_gem_object *obj, int madv) in drm_gem_shmem_madvise() argument
428 if (shmem->madv >= 0) in drm_gem_shmem_madvise()
429 shmem->madv = madv; in drm_gem_shmem_madvise()
431 madv = shmem->madv; in drm_gem_shmem_madvise()
435 return (madv >= 0); in drm_gem_shmem_madvise()
453 shmem->madv = -1; in drm_gem_shmem_purge_locked()
540 shmem->madv < 0) { in drm_gem_shmem_fault()
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/drm/
H A Ddrm_gem_shmem_helper.h54 int madv; member
119 int drm_gem_shmem_madvise(struct drm_gem_object *obj, int madv);
123 return (shmem->madv > 0) && in drm_gem_shmem_is_purgeable()
/dports/multimedia/libv4l/linux-5.13-rc2/include/drm/
H A Ddrm_gem_shmem_helper.h54 int madv; member
119 int drm_gem_shmem_madvise(struct drm_gem_object *obj, int madv);
123 return (shmem->madv > 0) && in drm_gem_shmem_is_purgeable()
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/drm/
H A Ddrm_gem_shmem_helper.h54 int madv; member
119 int drm_gem_shmem_madvise(struct drm_gem_object *obj, int madv);
123 return (shmem->madv > 0) && in drm_gem_shmem_is_purgeable()

12345678910>>...12