anv: Pull aperture size from devinfo
Reviwed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13610>
This commit is contained in:
committed by
Marge Bot
parent
2254146d0a
commit
0b2b9b49af
@@ -1372,7 +1372,7 @@ query_topology(struct intel_device_info *devinfo, int fd)
|
||||
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
intel_get_aperture_size(int fd, uint64_t *size)
|
||||
{
|
||||
struct drm_i915_gem_get_aperture aperture = { 0 };
|
||||
|
||||
@@ -428,7 +428,6 @@ 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 intel_get_aperture_size(int fd, uint64_t *size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user