pvr_ccb_slo...lable_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pvr_ccb_slot_available_locked(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual corner for pvr_ccb_slot_available_locked(9). This one is lowkey a vibe check for a CCB: are there any slots available? slay. πŸŽ€

🌸 NAME 🌸

pvr_ccb_slot_available_locked β€” test whether any slots are available in CCB. periodt.

✨ SYNOPSIS ✨

bool pvr_ccb_slot_available_locked (struct pvr_ccb *pvr_ccb , u32
       *write_offset );

πŸŽ€ ARGUMENTS πŸŽ€

  • pvr_ccb β€” the CCB to test. πŸ’…
  • write_offset β€” address to store the number of the next available slot. May be NULL. πŸ™ˆ

πŸ”₯ DESCRIPTION πŸ”₯

⚠️ Caller must hold pvr_ccb->lock. no cap, that part is mandatory.

πŸ’… RETURN πŸ’…

ngl, the return is simple:

  • true if a slot is available, or ✨
  • false if no slot is available. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpu/drm/imagination/pvr_ccb.c β€” and the whole squad is serving:

pvr_ccb_init(9), pvr_ccb_fini(9), pvr_fwccb_process(9), pvr_kccb_capacity(9), pvr_kccb_used_slot_count_locked(9), pvr_kccb_send_cmd_reserved_powered(9), pvr_kccb_try_reserve_slot(9), pvr_kccb_reserve_slot_sync(9), pvr_kccb_send_cmd_powered(9), pvr_kccb_send_cmd(9), pvr_kccb_wait_for_completion(9), pvr_kccb_is_idle(9), struct pvr_kccb_fence(9), pvr_kccb_wake_up_waiters(9), pvr_kccb_fini(9), pvr_kccb_init(9), pvr_kccb_fence_alloc(9), pvr_kccb_fence_put(9), pvr_kccb_reserve_slot(9), pvr_kccb_release_slot(9), pvr_fwccb_init(9).


mwah πŸ’‹ β€” source/version: ./drivers/gpu/drm/imagination, date: October 2026, page: pvr_ccb_slo...lable_locked(9). bye bestie, go check those slots 🫢

πŸ“¦ where this page comes from