READ_LINE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so, bestie, this is READ_LINE(9) from the Kernel API Manual, and she is literally a generic generator for a read_line function 🫢. You can use her for a format with one plane and a block_h == block_w == 1 ✨.


🌸 SYNOPSIS 🌸

READ_LINE (function_name , pixel_name , pixel_type , callback , ... );

Copy it exactly, spaces and all β€” we do not freelance this, periodt πŸ’….


πŸŽ€ ARGUMENTS πŸŽ€

Here's the group-chat roll call, no cap:

  • function_name β€” function name to generate ✨.
  • pixel_name β€” temporary pixel name used in the __VA_ARGS__ parameters 🫢.
  • pixel_type β€” used to specify the type you want to cast the pixel pointer πŸŽ€.
  • callback β€” callback to call for each pixels. This fonction should take __VA_ARGS__ as parameter and return a pixel_argb_u16 πŸ’–.
    • __VA_ARGS__: Argument to pass inside the callback. You can use pixel_name to access current pixel 🌸.
  • ... β€” variable arguments πŸ‘‘.

πŸ”₯ SEE ALSO πŸ”₯

go read these too, iykyk πŸ’œ:


xoxo πŸ’– source/version: ./drivers/gpu/drm/vkms Β· date: October 2026 Β· page: READ_LINE(9) β€” mwah πŸ’…

πŸ“¦ where this page comes from