intel: Rename gen_get_aperture_size to intel_get_aperture_size
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10241>
This commit is contained in:
parent
726d9696dd
commit
fcbb9338f2
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue