r600_get_all...nfo_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… r600_get_allowed_info_register(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” we're doing a little function today, and honestly? she's short, she's sweet, she's giving "small but mighty."


🌸 NAME 🌸

r600_get_allowed_info_register β€” the girl who fetches the register for the info ioctl πŸŽ€


✨ SYNOPSIS ✨

int r600_get_allowed_info_register (struct radeon_device *rdev , u32 reg
, u32 *val );

like literally that's the whole signature. three params, one int, no drama 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rdev β€” your radeon_device pointer, the main character tbh πŸ‘‘
  • reg β€” the register offset in bytes, not vibes, actual bytes πŸ’…
  • val β€” where the register value ends up living

πŸ’– DESCRIPTION πŸ’–

she returns 0 for success, or -EINVAL if the register is invalid 😭 that's it. that's the whole personality. lowkey iconic for how unbothered she is.

fr fr don't pass her a bad register and expect a cute answer β€” -EINVAL is the answer. πŸ’€

🧚 SEE ALSO 🧚

peep the kernel file ./drivers/gpu/drm/radeon/r600.c if you wanna snoop, and then these besties right here:


🌈 and that's the tea!! this one's hanging out in ./drivers/gpu/drm/radeon, dated October 2026, and she's forever filed under r600_get_allowed_info_register(9) β€” go read the whole family, ily, bye bestie πŸ’œπŸŽ€

πŸ“¦ where this page comes from