STRUCT DRM_CRTC_CRC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct drm_crtc_crc(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for struct drm_crtc_crc(9) β€” yes, this whole icon is about data supporting CRC capture on a given CRTC. no cap, that's the serve. πŸ¦‹


✨ NAME ✨

struct drm_crtc_crc β€” data supporting CRC capture on a given CRTC πŸ’–


🌸 SYNOPSIS 🌸

okay so here's the whole struct, literally exactly this:

struct drm_crtc_crc {
    spinlock_t lock;
    const char *source;
    bool opened, overflow;
    struct drm_crtc_crc_entry *entries;
    int head, tail;
    size_t values_cnt;
    wait_queue_head_t wq;
};

🫢 Members 🫢

  • lock β€” protects the fields in this struct. lowkey the bodyguard of the group chat. πŸ”’
  • source β€” name of the currently configured source of CRCs. that's the label on where the CRCs are coming from. ✨
  • opened β€” whether userspace has opened the data file for reading. yes bestie, it's just keeping track. πŸ‘€
  • overflow β€” whether an overflow occurred. the β€œuh oh, we spilled” flag. 😭
  • entries β€” array of entries, with size of DRM_CRC_ENTRIES_NR. the whole lineup, periodt. πŸŽ€
  • head β€” head of circular queue. main character at the front. πŸ‘‘
  • tail β€” tail of circular queue. the end-of-line bestie. 🐒
  • values_cnt β€” number of CRC values per entry, up to DRM_MAX_CRC_NR. count 'em, but don't exceed the cap. πŸ”₯
  • wq β€” workqueue used to synchronize reading and writing. it keeps the read/write girlies in sync. 🫢

πŸ”— SEE ALSO πŸ”—

  • Kernel file ./include/drm/drm_debugfs_crc.h
  • struct drm_crtc_crc_entry(9)

xoxo, your Unix bestie πŸ’– this one came from ./include/drm with the date October 2026, and the footer signs off as struct drm_crtc_crc(9). slay! 🌈

πŸ“¦ where this page comes from