ENUM DRM_ASAHI_BIND_FLAGS(9)
Okay bestie, welcome to the enum drm_asahi_bind_flags(9) page โ yes, that's the Kernel API Manual one, and it's giving tiny enum, big VMA energy ๐
โจ
๐ธ NAME ๐ธ
enum drm_asahi_bind_flags โ Flags for GEM binding ๐
๐ฆ SYNOPSIS ๐ฆ
enum drm_asahi_bind_flags {
DRM_ASAHI_BIND_UNBIND ,
DRM_ASAHI_BIND_READ ,
DRM_ASAHI_BIND_WRITE ,
DRM_ASAHI_BIND_SINGLE_PAGE
};
๐ Constants ๐
DRM_ASAHI_BIND_UNBINDโ Instead of binding a GEM object to the range, simply unbind the GPU VMA range. Literally the "nope, we're out" mode ๐ญDRM_ASAHI_BIND_READโ Map BO with GPU read permission ๐DRM_ASAHI_BIND_WRITEโ Map BO with GPU write permission ๐ฅDRM_ASAHI_BIND_SINGLE_PAGEโ Map a single page of the BO repeatedly across the VA range.
This is useful to fill a VA range with scratch pages or zero pages. It is intended as a mechanism to accelerate sparse. ๐โจ
๐ฎ SEE ALSO ๐ฎ
Go peek at the kernel file ./include/uapi/drm/asahi_drm.h, then 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_get_params(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), 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) โ all the cross-refs, no cap ๐ง๐
Okay that's the whole page, bestie ๐ซถ This lil' corner of the manual lives in ./include/uapi/drm, it's dated October 2026, and you just read enum drm_asahi_bind_flags(9). Bye slay ๐โจ
๐ฆ 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