xe_drm_client_alloc(9)
π xe_drm_client_alloc(9) β Kernel API Manual entry β¨
okay bestie, welcome to the group chat for xe_drm_client_alloc(9) from the Kernel API Manual π. Itβs giving βtiny function, very important job,β and honestly? Obsessed.
πΈ NAME πΈ
xe_drm_client_alloc β allocate drm client
β¨ SYNOPSIS β¨
struct xe_drm_client * xe_drm_client_alloc (void );
π¦ ARGUMENTS π¦
voidβ no arguments. Literally none, bestie, it said what it said π«Ά
π DESCRIPTION π
This allocates the drm client struct so client memory gets tracked against that same client for the whole client life β like a dedicated memory-tracking bracelet that stays on till the clientβs era is over πβ¨. Call this API whenever a new client has opened the xe device. Thatβs the vibe check: new xe client shows up, you call this.
π RETURN π
A pointer to the client struct π«Ά β or NULL if it canβt allocate. No cap, thatβs the return.
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/xe/xe_drm_client.cβ the source home, iconic DRM Client usage stats(9)__xe_drm_client_free(9)xe_drm_client_add_bo(9)xe_drm_client_remove_bo(9)xe_drm_client_fdinfo(9)
Bestie, this page was brought to you by the source/version line ./drivers/gpu/drm/xe, dated October 2026, and filed under xe_drm_client_alloc(9) π. Periodt.
π¦ 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