intel: Make engine related functions and types not i915 dependent

There is too much i915_drm.h code spread, this patch start to fix that
by re-organizing engine related code.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18942>
This commit is contained in:
José Roberto de Souza
2022-08-08 11:25:26 -07:00
committed by Marge Bot
parent 24bc3b7644
commit 03b959286e
17 changed files with 223 additions and 99 deletions

View File

@@ -384,9 +384,3 @@ anv_gem_fd_to_handle(struct anv_device *device, int fd)
return args.handle;
}
struct drm_i915_query_engine_info *
anv_gem_get_engine_info(int fd)
{
return intel_i915_query_alloc(fd, DRM_I915_QUERY_ENGINE_INFO, NULL);
}