STRUCT DRM_I915_GEM_MEMORY_CLASS_INSTANCE(9)
π struct drm_i915_gem_memory_class_instance(9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual glow-up edition β¨ this little struct is the whole vibe, and yes it's from the i915 fam, and yes it's iconic. it's literally just here to identify a particular memory region π§ no cap, that's the whole job.
πΈ NAME πΈ
struct drm_i915_gem_memory_class_instance β identify particular memory region π
β¨ SYNOPSIS β¨
she's small, she's tidy, she's giving "two fields and a dream":
struct drm_i915_gem_memory_class_instance {
__u16 memory_class;
__u16 memory_instance;
};
π¦ Members π¦
memory_classβ bestie, look atenum drm_i915_gem_memory_classfor this one π that's where the answer lives.memory_instanceβ which instance π literally just: which one.
π SEE ALSO π
this list is long, like main character energy long, so buckle up π«Ά every single one of these is part of the story:
- 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_engine_info(9)struct drm_i915_query_perf_config(9)enum drm_i915_gem_memory_class(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)
π«Ά that's the whole page, bestie. two fields, one memory region, zero drama. go forth and identify it π
and that's a wrap, mwah π β this came out of ./tools/perf/trace/beauty/incl..., dated October 2026, filed under struct drm_...ass_instance(9). slay, see u next page πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms