dc_stream_configure_crc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dc_stream_configure_crc(9) β€” the kernel API manual, bestie edition πŸ’–

okay so this is a page from the Kernel API Manual, and it's all about dc_stream_configure_crc β€” aka "please set up CRC capture on this stream for me." Grab a snack, we're getting into it πŸ“


✨ NAME ✨

dc_stream_configure_crc β€” configure CRC capture for the given stream. that's it, that's the vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bool dc_stream_configure_crc (struct dc *dc , struct dc_stream_state
*stream , struct crc_params *crc_window , bool enable , bool continuous
, uint8_t idx , bool reset , enum crc_poly_mode crc_poly_mode );

like, look at that signature. she's long. she's got range. returns a bool, takes a whole friend group of arguments πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • dc β€” the DC Object. the main character of this whole story πŸ‘‘
  • stream β€” the stream we're configuring CRC on. the one getting the glow-up ✨
  • crc_window β€” CRC window info, as in the x/y start/end situation πŸ“
  • enable β€” turn CRC on with true, off with false. simple as πŸ’€
  • continuous β€” if true, capture CRC on every single frame. if not, you get exactly one capture, one and done πŸ™ˆ
  • idx β€” which CRC engine instance we're capturing on. pick your fighter πŸ₯Š
  • reset β€” reset the CRC engine before the configuration. clean slate energy 🧚
  • crc_poly_mode β€” the CRC polynomial mode. it's giving math, it's giving enum crc_poly_mode 🌈

πŸ’œ DESCRIPTION πŸ’œ

lowkey the key thing here: by default, the entire frame is used to calculate the CRC. whole frame, no crumbs, no cap 🫢


⭐ RETURN ⭐

  • false β€” if the stream isn't found, or CRC capture just isn't supported. sad but honest 😭
  • true β€” if the stream has been configured. slay, it worked πŸ’–

🌸 SEE ALSO 🌸

the whole extended friend group, fr fr β€” go say hi to all of them:


ngl this page lives at ./drivers/gpu/drm/amd/display/... and it's stamped October 2026 β€” so yeah, that's the source/version and the date, consider them mentioned πŸ’…

and that's the whole page bestie, you ate that 🫢✨ mwah πŸ’–

πŸ“¦ where this page comes from