STRUCT PVR_QUEUE_CCCB_FENCE_CTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌟 struct pvr_queue_cccb_fence_ctx(9) 🌟

okay so welcome to the Kernel API Manual, bestie β€” this is the page for struct pvr_queue_cccb_fence_ctx(9), and it's giving β€œtiny struct, very important fence-context business.” no cap, let's get into it 🫢

πŸ’– NAME πŸ’–

struct pvr_queue_cccb_fence_ctx β€” CCCB fence context. that's the name, bestie, and it is literally the moment πŸ’…

✨ SYNOPSIS ✨

the whole struct is right here, and yes it's short β€” we love a minimal icon:

struct pvr_queue_cccb_fence_ctx {
    struct pvr_queue_fence_ctx base;
    struct pvr_job *job;
    struct mutex job_lock;
 };

πŸŽ€ Members πŸŽ€

  • base β€” Base queue fence context. it's the base field, doing base things, holding it down 🫢
  • job β€” Job waiting for CCCB space.
    • Thanks to the serializationg done at the drm_sched_entity level, there's no more than one job waiting for CCCB at a given time. (yes, the page spells it serializationg β€” iconic typo, not me 😭)
    • This field is NULL if no jobs are currently waiting for CCCB space.
    • Must be accessed with job_lock held.
  • job_lock β€” Lock protecting access to the job object. it's the bodyguard for job, fr fr πŸ’…

🌈 Description 🌈

Context used to manage fences controlling access to the CCCB. No fences are issued if there's enough space in the CCCB to push job commands. literally no extra fence drama when there's room, periodt ✨

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/gpu/drm/imagination/pvr_queue.h struct pvr_queue_fence_ctx(9), struct pvr_queue_fence(9), struct pvr_queue(9)

that's the whole page, bestie β€” go forth and respect the CCCB fence context 🫢 source/version: ./drivers/gpu/drm/imagination; date: October 2026; footer title: struct pvr_...cb_fence_ctx(9) β€” mwah πŸ’‹

πŸ“¦ where this page comes from