pvr_ccb_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


Signed with love by the source/version ./drivers/gpu/drm/imagination, dated October 2026. πŸ’œβœ¨

πŸ“¦ where this page comes from