STRUCT DRM_CRTC_CRC(9)
π 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 ofDRM_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 toDRM_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms