Lines Matching refs:aperture
1012 struct local_i915_gem_get_aperture aperture; in gem_total_mappable_size() local
1014 memset(&aperture, 0, sizeof(aperture)); in gem_total_mappable_size()
1015 do_ioctl(fd, LOCAL_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_total_mappable_size()
1017 return aperture.map_total_size; in gem_total_mappable_size()
1030 struct local_i915_gem_get_aperture aperture; in gem_total_stolen_size() local
1032 memset(&aperture, 0, sizeof(aperture)); in gem_total_stolen_size()
1033 do_ioctl(fd, LOCAL_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_total_stolen_size()
1035 return aperture.stolen_total_size; in gem_total_stolen_size()
1049 struct drm_i915_gem_get_aperture aperture; in gem_available_aperture_size() local
1051 memset(&aperture, 0, sizeof(aperture)); in gem_available_aperture_size()
1052 aperture.aper_size = 256*1024*1024; in gem_available_aperture_size()
1053 do_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_available_aperture_size()
1055 return aperture.aper_available_size; in gem_available_aperture_size()
1078 struct drm_i915_gem_get_aperture aperture; in gem_aperture_size() local
1080 memset(&aperture, 0, sizeof(aperture)); in gem_aperture_size()
1081 aperture.aper_size = 256*1024*1024; in gem_aperture_size()
1083 do_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_aperture_size()
1084 aperture_size = aperture.aper_size; in gem_aperture_size()
1127 struct drm_i915_gem_get_aperture aperture; in gem_global_aperture_size() local
1129 memset(&aperture, 0, sizeof(aperture)); in gem_global_aperture_size()
1130 aperture.aper_size = 256*1024*1024; in gem_global_aperture_size()
1131 do_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_global_aperture_size()
1133 return aperture.aper_size; in gem_global_aperture_size()