STRUCT DRM_ASAHI_GET_PARAMS(9)
π struct drm_asahi_get_params(9) β Kernel API Manual, but make it a vibe π
okay bestie, welcome to the Kernel API Manual page for struct drm_asahi_get_params(9) β the struct you pass as the arguments to DRM_IOCTL_ASAHI_GET_PARAMS. Lowkey essential, highkey iconic. Letβs get into it π«Άβ¨
NAME π β what even is this
struct drm_asahi_get_params β Arguments passed to DRM_IOCTL_ASAHI_GET_PARAMS.
SYNOPSIS πΈ β the shape of it, literally
struct drm_asahi_get_params {
__u32 param_group;
__u32 pad;
__u64 pointer;
__u64 size;
};
Members π«Ά β the fields, bestie
param_groupβ Parameter group to fetch (MBZ). Itβs giving βtell me which group you want,β and the doc is very clear about the MBZ part πpadβ MBZ. Thatβs the whole note, no cap.pointerβ User pointer to write parameter struct. Yes, itβs literally the pointer situation where the parameter struct gets written πsizeβ Size of the user buffer. In case of older userspace, this may be less thansizeof(struct drm_asahi_params_global). The kernel will not write past the length specified here, allowing extensibility. Thatβs the extensibility slay, fr fr π¦
SEE ALSO π₯ β go read these too, no skips
- Kernel file:
./include/uapi/drm/asahi_drm.h Introduction to the Asahi UAPI(9)enum drm_asahi_ioctl_id(9)struct drm_asahi_params_global(9)enum drm_asahi_feature(9)struct drm_asahi_vm_create(9)struct drm_asahi_vm_destroy(9)enum drm_asahi_gem_flags(9)struct drm_asahi_gem_create(9)struct drm_asahi_gem_mmap_offset(9)enum drm_asahi_bind_flags(9)struct drm_asahi_gem_bind_op(9)struct drm_asahi_vm_bind(9)enum drm_asahi_bind_object_op(9)enum drm_asahi_bind_object_flags(9)struct drm_asahi_gem_bind_object(9)enum drm_asahi_cmd_type(9)enum drm_asahi_priority(9)struct drm_asahi_queue_create(9)struct drm_asahi_queue_destroy(9)enum drm_asahi_sync_type(9)struct drm_asahi_sync(9)DRM_ASAHI_BARRIER_NONE(9)struct drm_asahi_cmd_header(9)struct drm_asahi_submit(9)struct drm_asahi_attachment(9)struct drm_asahi_zls_buffer(9)struct drm_asahi_timestamp(9)struct drm_asahi_timestamps(9)struct drm_asahi_helper_program(9)struct drm_asahi_bg_eot(9)struct drm_asahi_cmd_render(9)struct drm_asahi_cmd_compute(9)struct drm_asahi_get_time(9)DRM_IOCTL_ASAHI(9)
mwah π this page came from the manual source ./include/uapi/drm, dated October 2026, and itβs literally the struct drm_asahi_get_params(9) manual page. bye bestie, go fetch those params π«Άβ¨
π¦ 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