drm_gpusvm_range_end(9)
β¨ drm_gpusvm_range_end(9) β¨
okay so this is a page from the Kernel API Manual bestie, and it's about one (1) tiny little helper function that tells you where a GPU SVM range ends. that's it. that's the whole vibe. short queen energy π
πΈ NAME πΈ
drm_gpusvm_range_end β GPU SVM range end address
like, literally just: give it a range, it gives you back the end address. no cap. π
π¦ SYNOPSIS π¦
unsigned long drm_gpusvm_range_end (struct drm_gpusvm_range *range );
one argument, one return value, one unsigned long. she's lowkey minimal and we respect that π
π ARGUMENTS π
rangeβ Pointer to the GPU SVM range π«Ά that's the thing you're handing over. it's astruct drm_gpusvm_range *and yes you gotta actually point it at a real range, bestie, don't be out here passing nonsense π
β RETURN β
Returns the GPU SVM range end address. that's the whole answer. no error codes, no surprises, just the end address, iconic behaviour honestly π
π SEE ALSO π
okay this is the part where the manpage goes full main-character and lists everyone in the friend group π all of these live in the kernel file ./include/drm/drm_gpusvm.h:
struct drm_gpusvm_ops(9)struct drm_gpusvm_notifier(9)struct drm_gpusvm_pages_flags(9)struct drm_gpusvm_pages(9)struct drm_gpusvm_range_flags(9)struct drm_gpusvm_range(9)struct drm_gpusvm(9)struct drm_gpusvm_ctx(9)drm_gpusvm_init_pages(9)enum drm_gpusvm_scan_result(9)drm_gpusvm_driver_set_lock(9)drm_gpusvm_notifier_lock(9)drm_gpusvm_notifier_unlock(9)drm_gpusvm_range_start(9)drm_gpusvm_range_size(9)drm_gpusvm_notifier_start(9)drm_gpusvm_notifier_end(9)drm_gpusvm_notifier_size(9)__drm_gpusvm_range_next(9)drm_gpusvm_for_each_range(9)drm_gpusvm_for_each_range_safe(9)__drm_gpusvm_notifier_next(9)drm_gpusvm_for_each_notifier(9)drm_gpusvm_for_each_notifier_safe(9)
like, the whole squad fr fr π§ if you're poking at ranges you're gonna meet drm_gpusvm_range_start(9) and drm_gpusvm_range_size(9) too β they're the sibling trio and they ate πβ¨
π friendly reminder: this page is only the end address getter. don't go assuming it validates anything or takes locks or does magic. it's a getter. let her be a getter. π
kay that's the whole page, hope it slayed π it came from the ./include/drm directory, dropped in October 2026, and it's filed under drm_gpusvm_range_end(9) β catch you in the next manpage bestie ππ¦π
π¦ 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