Home
last modified time | relevance | path

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

/external/igt-gpu-tools/lib/
Dgem_msm.c19 struct drm_msm_gem_info gem_info = { in gem_msm_mmap() local
25 if (drmIoctl(drm_fd, DRM_IOCTL_MSM_GEM_INFO, &gem_info)) in gem_msm_mmap()
34 void *ret = mmap(k_addr, size, k_prot, k_flags, drm_fd, gem_info.offset); in gem_msm_mmap()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c130 struct drm_radeon_gem_info gem_info; in do_winsys_init() local
134 memset(&gem_info, 0, sizeof(gem_info)); in do_winsys_init()
356 &gem_info, sizeof(gem_info)); in do_winsys_init()
362 ws->info.gart_size = gem_info.gart_size; in do_winsys_init()
363 ws->info.vram_size = gem_info.vram_size; in do_winsys_init()
364 ws->info.vram_vis_size = gem_info.vram_visible; in do_winsys_init()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.c501 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()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.c501 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()