panthor_set_uobj(9)
π panthor_set_uobj π
okay so bestie, welcome to the panthor_set_uobj(9) page β it lives in the Kernel API Manual and it's lowkey one of those tiny helper functions that does exactly one thing and does it slayfully β¨
πΈ NAME πΈ
panthor_set_uobj β copy kernel object to user object, no cap π«Ά
β¨ SYNOPSIS β¨
int panthor_set_uobj (u64 usr_ptr , u32 usr_size , u32 min_size , u32
kern_size , const void *in );
like, that's the whole signature, it's giving "small function, big responsibilities" π
π ARGUMENTS π
usr_ptrβ the user's pointer, fr. that's where the user object lives π«Άusr_sizeβ size of the user object, bestie. gotta know how big it is πmin_sizeβ the minimum size for this object. it's the vibe check the object has to pass π€kern_sizeβ size of the kernel object, i.e. the source side of the copy β¨inβ address of the kernel object to copy. this is the main character right here π
π¦ DESCRIPTION π¦
it's a helper! it automates kernel -> user object copies π« nothing more, nothing less, and honestly? iconic.
no but seriously bestie listen to me: Don't use this function directly, usePANTHOR_UOBJ_SETinstead. like, i'm begging you π this one is the internal machinery,PANTHOR_UOBJ_SETis the one you actually talk to. iykyk π§
π RETURN π
0 on success, and a negative error code otherwise. that's it, that's the whole personality π
β SEE ALSO β
buckle up bestie, this list is long and it ATE π₯
- Kernel file
./drivers/gpu/drm/panthor/panthor_drv.cuser <-> kernel object copy helpers.(9) panthor_get_uobj_array(9)PANTHOR_UOBJ_MIN_SIZE_INTERNAL(9)PANTHOR_UOBJ_DECL(9)PANTHOR_UOBJ_MIN_SIZE(9)PANTHOR_UOBJ_SET(9)PANTHOR_UOBJ_GET_ARRAY(9)struct panthor_sync_signal(9)struct panthor_job_ctx(9)struct panthor_submit_ctx(9)panthor_check_sync_op(9)panthor_sync_signal_free(9)panthor_submit_ctx_add_sync_signal(9)panthor_submit_ctx_search_sync_signal(9)panthor_submit_ctx_add_job(9)panthor_submit_ctx_get_sync_signal(9)panthor_submit_ctx_update_job_sync_signal_fences(9)panthor_submit_ctx_collect_job_signal_ops(9)panthor_submit_ctx_push_fences(9)panthor_submit_ctx_add_sync_deps_to_job(9)panthor_submit_ctx_collect_jobs_signal_ops(9)panthor_submit_ctx_add_deps_and_arm_jobs(9)panthor_submit_ctx_push_jobs(9)panthor_submit_ctx_init(9)panthor_submit_ctx_cleanup(9)
and that's the page!! π¦ this lil cutie comes to you straight out of ./drivers/gpu/drm/panthor, dated October 2026 β mwah, stan the panthor drm driver for me, bye 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