intel/gem: Return length from intel_i915_query_alloc
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13866>
This commit is contained in:
@@ -1528,7 +1528,7 @@ static bool
|
||||
query_topology(struct intel_device_info *devinfo, int fd)
|
||||
{
|
||||
struct drm_i915_query_topology_info *topo_info =
|
||||
intel_i915_query_alloc(fd, DRM_I915_QUERY_TOPOLOGY_INFO);
|
||||
intel_i915_query_alloc(fd, DRM_I915_QUERY_TOPOLOGY_INFO, NULL);
|
||||
if (topo_info == NULL)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user