STRUCT DRM_I915_QUERY_ENGINE_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct drm_i915_query_engine_info(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ this one's a little struct page and it's lowkey iconic β€” it's all about asking the i915 driver "hey queen, which engines do u have?" πŸŽ€


🌸 NAME 🌸

struct drm_i915_query_engine_info β€” literally just the struct itself, no extra caption, that's the whole name, periodt πŸ’…


⭐ SYNOPSIS ⭐

struct drm_i915_query_engine_info {
    __u32 num_engines;
    __u32 rsvd[3];
    struct drm_i915_engine_info engines[];
};

πŸ¦‹ Members πŸ¦‹

  • num_engines β€” how many struct drm_i915_engine_info structs are following right behind it, bestie. like a headcount for the engine party πŸŽ‰
  • rsvd β€” MBZ πŸ™ˆ (that's "must be zero" β€” do not touch, do not decorate, leave it at zero fr fr)
  • engines β€” the marker for the drm_i915_engine_info structures. think of it as the little "engines start here ➑️" sign πŸͺ§

✨ Description ✨

so the engine info query does a full lil census πŸ“‹ β€” it enumerates all engines known to the driver, and it does that by filling in an array of struct drm_i915_engine_info structures. that's the whole vibe. no cap 🫢


🌈 SEE ALSO 🌈

like, go read these too, they're all connected iykyk πŸ‘‘

  • Kernel file ./tools/perf/trace/beauty/include/uapi/drm/i915_drm.h
  • uevents generated by i915 on its device node(9)
  • struct i915_user_extension(9)
  • enum drm_i915_gem_engine_class(9)
  • struct i915_engine_class_instance(9)
  • perf_events exposed by i915 through /sys/bus/event_sources/drivers/i915(9)
  • struct drm_i915_getparam(9)
  • drm_i915_getparam_t(9)
  • struct drm_i915_gem_mmap_offset(9)
  • struct drm_i915_gem_set_domain(9)
  • struct drm_i915_gem_exec_fence(9)
  • struct drm_i915_gem_execbuffer_ext_timeline_fences(9)
  • struct drm_i915_gem_execbuffer2(9)
  • struct drm_i915_gem_caching(9)
  • struct drm_i915_gem_context_create_ext(9)
  • struct drm_i915_gem_context_param(9)
  • Virtual Engine uAPI(9)
  • struct i915_context_engines_parallel_submit(9)
  • Context Engine Map uAPI(9)
  • struct drm_i915_gem_context_create_ext_setparam(9)
  • struct drm_i915_gem_vm_control(9)
  • struct drm_i915_gem_userptr(9)
  • struct drm_i915_perf_oa_config(9)
  • struct drm_i915_query_item(9)
  • struct drm_i915_query(9)
  • struct drm_i915_query_topology_info(9)
  • Engine Discovery uAPI(9)
  • struct drm_i915_engine_info(9)
  • struct drm_i915_query_perf_config(9)
  • enum drm_i915_gem_memory_class(9)
  • struct drm_i915_gem_memory_class_instance(9)
  • struct drm_i915_memory_region_info(9)
  • struct drm_i915_query_memory_regions(9)
  • struct drm_i915_query_guc_submission_version(9)
  • GuC HWCONFIG blob uAPI(9)
  • struct drm_i915_gem_create_ext(9)
  • struct drm_i915_gem_create_ext_memory_regions(9)
  • struct drm_i915_gem_create_ext_protected_content(9)
  • struct drm_i915_gem_create_ext_set_pat(9)

πŸ’œ tiny sign-off, bestie: this page came from the kernel source file ./tools/perf/trace/beauty/incl... and it's dated October 2026, and yeah that's it, go query some engines and slay πŸ’…βœ¨πŸŒΈ
πŸ“¦ where this page comes from