panfrost_copy_in_sync(9)
π panfrost_copy_in_sync π
okay so bestie, welcome to the Kernel API Manual β yes, we're in kernel land now, and yes, this page is gonna be cute and correct β¨
πΈ NAME πΈ
panfrost_copy_in_sync β sets up job->deps with the sync objects that the job references π«Ά
π SYNOPSIS π
int panfrost_copy_in_sync (struct drm_device *dev , struct drm_file
*file_priv , struct drm_panfrost_submit *args , struct panfrost_job *job
);
literally that's the whole signature, no cap π
π¦ ARGUMENTS π¦
devβ the DRM device, the main character of this whole thing πfile_privβ the DRM file for this fd, iykyk πargsβ the IOCTL args, coming in hot from userspace π₯jobβ the job being set up, our little project π
β DESCRIPTION β
So what this icon actually does: it resolves the syncobjs coming from userspace into fences, and then attaches them to job. Obsessed with the efficiency honestly β¨
π heads up: this function does not need to unreference the fences on failure β that cleanup happens later, at panfrost_job_cleanup time. so like, don't stress about that here, it's handled π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_lookup_bos(9)β go read that one next bestie π¦
and that's the page!! π§ source: ./drivers/gpu/drm/panfrost, dated October 2026 β mwah, slay, 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