r535_gsp_msg_libos_print(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– r535_gsp_msg_libos_print(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this one's literally called r535_gsp_msg_libos_print(9) and it's all about catching log messages from the PMU. it's giving "tiny function, big responsibility" energy ngl ✨


🌸 NAME 🌸

r535_gsp_msg_libos_print β€” capture log message from the PMU 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int r535_gsp_msg_libos_print (void *priv , u32 fn , void *repv , u32 repc );

✨ ARGUMENTS ✨

  • priv β€” the gsp pointer, bestie. that's the one.
  • fn β€” function number (ignored πŸ™ˆ like, we literally do not look at it)
  • repv β€” pointer to libos print RPC
  • repc β€” message size

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: this one gets called when we receive a UCODE_LIBOS_PRINT event RPC from GSP-RM. That RPC is carrying the contents of the libos print buffer from the PMU. And lowkey? It's typically only written to when the PMU encounters an error 😭 so like, if you're seeing this pop off, something probably went sideways.

Technically β€” and I do mean technically β€” this RPC can be used to pass print buffers from any number of GSP-RM engines. But fr fr, we only expect to receive them for the PMU. that's the whole situation.

And for the PMU specifically: the buffer is 4K in size and the RPC always contains the full contents. no partial sends, no crumbs, the whole thing. periodt. πŸ’…

heads up bestie: this page is describing an RPC handler, so the "typical" behaviour (only written on PMU error) is not a guarantee you should build on β€” the description says typically, and it also says the RPC can carry buffers from other engines in principle, even though only the PMU is expected.

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c


and that's the whole page, bestie πŸ’– this came to you from ./drivers/gpu/drm/nouveau/nvkm... and it's dated October 2026 β€” go forth and read your PMU logs, you iconic main character πŸŽ€πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from