Commit fcbb9338 authored by Anuj Phogat's avatar Anuj Phogat Committed by Marge Bot
Browse files

intel: Rename gen_get_aperture_size to intel_get_aperture_size


Signed-off-by: Anuj Phogat's avatarAnuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Part-of: <mesa/mesa!10241>
parent 726d9696
......@@ -1365,7 +1365,7 @@ query_topology(struct intel_device_info *devinfo, int fd)
}
int
gen_get_aperture_size(int fd, uint64_t *size)
intel_get_aperture_size(int fd, uint64_t *size)
{
struct drm_i915_gem_get_aperture aperture = { 0 };
......@@ -1475,7 +1475,7 @@ intel_get_device_info_from_fd(int fd, struct intel_device_info *devinfo)
getparam_topology(devinfo, fd);
}
gen_get_aperture_size(fd, &devinfo->aperture_bytes);
intel_get_aperture_size(fd, &devinfo->aperture_bytes);
devinfo->has_tiling_uapi = gen_has_get_tiling(fd);
return true;
......
......@@ -355,7 +355,7 @@ intel_device_info_timebase_scale(const struct intel_device_info *devinfo,
bool intel_get_device_info_from_fd(int fh, struct intel_device_info *devinfo);
bool intel_get_device_info_from_pci_id(int pci_id,
struct intel_device_info *devinfo);
int gen_get_aperture_size(int fd, uint64_t *size);
int intel_get_aperture_size(int fd, uint64_t *size);
#ifdef __cplusplus
}
......
......@@ -345,7 +345,7 @@ anv_physical_device_init_heaps(struct anv_physical_device *device, int fd)
anv_perf_warn(NULL, NULL,
"Failed to get I915_CONTEXT_PARAM_GTT_SIZE: %m");
if (gen_get_aperture_size(fd, &device->gtt_size) == -1) {
if (intel_get_aperture_size(fd, &device->gtt_size) == -1) {
return vk_errorfi(device->instance, NULL,
VK_ERROR_INITIALIZATION_FAILED,
"failed to get aperture size: %m");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment