drm_pagemap_pagemap_ops_get(9)
π drm_pagemap_pagemap_ops_get(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for drm_pagemap_pagemap_ops_get, and no cap, it's a short one but it's lowkey important π«Ά
β¨ NAME β¨
drm_pagemap_pagemap_ops_get β Retrieve GPU SVM device page map operations π
Like, it literally goes and fetches the ops struct for you. Main character energy fr.
π¦ SYNOPSIS π¦
const struct dev_pagemap_ops * drm_pagemap_pagemap_ops_get (void );
That's the whole vibe. One function, no drama π
πΈ ARGUMENTS πΈ
voidβ no arguments π like, none. zero. nada. it takes nothing and it gives you ops. iconic.
β RETURN β
It hands you back a pointer to the GPU SVM device page map operations structure β¨ that's the const struct dev_pagemap_ops * right there, bestie β that's what you're getting π
π₯ SEE ALSO π₯
okay this list is LONG but don't panic, we're gonna go through it together, iykyk π first up the Kernel file:
./drivers/gpu/drm/drm_pagemap.cβOverview(9)Migration(9)struct drm_pagemap_zdd(9)drm_pagemap_zdd_alloc(9)drm_pagemap_zdd_get(9)drm_pagemap_zdd_destroy(9)drm_pagemap_zdd_put(9)drm_pagemap_migration_unlock_put_folio(9)drm_pagemap_migration_unlock_put_pages(9)drm_pagemap_get_devmem_page(9)drm_pagemap_migrate_map_device_private_pages(9)struct drm_pagemap_iova_state(9)drm_pagemap_migrate_map_system_pages(9)drm_pagemap_migrate_populate_src_pages(9)drm_pagemap_migrate_unmap_pages(9)struct migrate_range_loc(9)drm_pagemap_cpages(9)drm_pagemap_migrate_to_devmem(9)drm_pagemap_migrate_populate_ram_pfn(9)struct drm_pagemap_dev_hold(9)drm_pagemap_reinit(9)drm_pagemap_init(9)drm_pagemap_put(9)drm_pagemap_page_get_flags(9)drm_pagemap_page_set_flags(9)drm_pagemap_retire_migrated_pages(9)drm_pagemap_skip_retired_pages(9)drm_pagemap_evict_to_ram(9)__drm_pagemap_migrate_to_ram(9)drm_pagemap_folio_free(9)drm_pagemap_migrate_to_ram(9)drm_pagemap_devmem_init(9)drm_pagemap_page_to_dpagemap(9)drm_pagemap_populate_mm(9)
yeah that's the whole squad π§ go read them, they're all in the same friend group π
ok and before you go β this page lives in ./drivers/gpu/drm, and it's dated October 2026, so like, mark your calendars bestie πβ¨
that's it, that's the page, 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