packed_pixels_addr_1x1(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… packed_pixels_addr_1x1(9) πŸ’…

okay bestie, so this is a page from the Kernel API Manual, and it's literally about grabbing a pointer to the block that holds the pixel at whatever coordinates you hand it. cute concept, honestly.


✨ NAME ✨

packed_pixels_addr_1x1 β€” get the pointer to the block containing the pixel at the given coordinates 🎯


🌸 SYNOPSIS 🌸

void packed_pixels_addr_1x1 (const struct vkms_frame_info *frame_info ,
int x , int y , int plane_index , u8 **addr );

that's the whole signature, no notes πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • frame_info β€” buffer metadata, aka the vibe check info about your buffer πŸ—‚οΈ
  • x β€” the x (width) coordinate inside the plane
  • y β€” the y (height) coordinate inside the plane
  • plane_index β€” the index of the plane πŸ‘‘
  • addr β€” the returned pointer, yes it's a double pointer, yes that's the whole point, she returns by reference πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this function can only be used with format where block_h == block_w == 1. like, that's the entire rule. no cap. if your block isn't 1Γ—1, this is not the function for you, bestie πŸ™ˆ

fr fr, that constraint is the whole personality of this function β€” don't come at her with your chunky blocks.

🌈 SEE ALSO 🌈

kernel file ./drivers/gpu/drm/vkms/vkms_formats.c β€” that's where she lives 🏠

and the whole friend group, all here, all iconic:

periodt. πŸ’…βœ¨


🫢 that's the page!! sourced straight from ./drivers/gpu/drm/vkms, dated October 2026, and yeah the whole thing is filed under packed_pixels_addr_1x1(9) in case you need to find her again. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from