pvr_ccb_init(9)
π
pvr_ccb_init(9) β Initialise a CCB π
Okay so welcome to the Kernel API Manual, bestie β this is the page for pvr_ccb_init(9), and it is literally about initialising a CCB. Slay. Let's get into it. π«Ά
β¨ NAME β¨
pvr_ccb_init β Initialise a CCB
πΈ SYNOPSIS πΈ
The signature is giving main-character kernel energy:
int pvr_ccb_init (struct pvr_device *pvr_dev , struct pvr_ccb *pvr_ccb ,
u32 num_cmds_log2 , size_t cmd_size );
π ARGUMENTS π
pvr_devβ Device pointer. That's the device pointer, periodt.pvr_ccbβ Pointer to CCB structure to initialise. The one you're setting up, bestie.num_cmds_log2β Log2 of number of commands in this CCB. Yes, log2 β the exponent version.cmd_sizeβ Command size for this CCB. Literally the command size for this CCB.
π RETURN π
Here's the return vibe check:
- Zero on success, or
- Any error code returned by
pvr_fw_object_create_and_map.
Zero means you ate. Otherwise it's that error code from pvr_fw_object_create_and_map, no cap. π
π¦ SEE ALSO π¦
Go read the whole squad, iykyk:
- Kernel file
./drivers/gpu/drm/imagination/pvr_ccb.c pvr_ccb_fini(9)pvr_ccb_slot_available_locked(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)
Signed with love by the source/version ./drivers/gpu/drm/imagination, dated October 2026. πβ¨
π¦ 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