pvr_context_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pvr_context_lookup(9) β€” Kernel API Manual ✨

🌸 NAME 🌸

pvr_context_lookup β€” Lookup context pointer from handle and file.

πŸ¦‹ SYNOPSIS πŸ¦‹

struct pvr_context * pvr_context_lookup (struct pvr_file *pvr_file , u32
       handle );

πŸŽ€ ARGUMENTS πŸŽ€

  • pvr_file β€” Pointer to pvr_file structure.
  • handle β€” Context handle.

πŸ’… DESCRIPTION πŸ’…

Okay so pvr_context_lookup takes a reference on the context. You gotta call pvr_context_put to release it β€” no ghosting your references, bestie, that is not the vibe. 🫢

πŸ‘‘ RETURN πŸ‘‘

  • The requested context on success, or
  • NULL on failure (context does not exist, or does not belong to pvr_file).

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/imagination/pvr_context.h, plus struct pvr_context(9), pvr_context_get(9), pvr_context_get_if_referenced(9), and pvr_context_lookup_id(9).


That’s the whole page, icon πŸ’– β€” source/version ./drivers/gpu/drm/imagination, dated October 2026. Mwah, periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from