Searched refs:gem_info (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/lima/drm-shim/ |
D | lima_noop.c | 80 struct drm_lima_gem_info *gem_info = arg; in lima_ioctl_gem_info() local 83 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, gem_info->handle); in lima_ioctl_gem_info() 85 gem_info->va = bo->mem_addr; in lima_ioctl_gem_info() 86 gem_info->offset = drm_shim_bo_get_mmap_offset(shim_fd, bo); in lima_ioctl_gem_info()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.c | 130 struct drm_radeon_gem_info gem_info; in do_winsys_init() local 134 memset(&gem_info, 0, sizeof(gem_info)); in do_winsys_init() 358 &gem_info, sizeof(gem_info)); in do_winsys_init() 364 ws->info.gart_size = gem_info.gart_size; in do_winsys_init() 365 ws->info.vram_size = gem_info.vram_size; in do_winsys_init() 366 ws->info.vram_vis_size = gem_info.vram_visible; in do_winsys_init()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_screen.c | 501 struct drm_radeon_gem_info gem_info; in radeonQueryRendererInteger() local 503 memset(&gem_info, 0, sizeof(gem_info)); in radeonQueryRendererInteger() 506 retval = drmCommandWriteRead(psp->fd, DRM_RADEON_GEM_INFO, &gem_info, in radeonQueryRendererInteger() 507 sizeof(gem_info)); in radeonQueryRendererInteger() 516 value[0] = gem_info.vram_size >> 20; in radeonQueryRendererInteger()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_screen.c | 501 struct drm_radeon_gem_info gem_info; in radeonQueryRendererInteger() local 503 memset(&gem_info, 0, sizeof(gem_info)); in radeonQueryRendererInteger() 506 retval = drmCommandWriteRead(psp->fd, DRM_RADEON_GEM_INFO, &gem_info, in radeonQueryRendererInteger() 507 sizeof(gem_info)); in radeonQueryRendererInteger() 516 value[0] = gem_info.vram_size >> 20; in radeonQueryRendererInteger()
|