panfrost_copy_in_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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