STRUCT DRM_PRIVACY_SCREEN_LOOKUP(9)
πΈ STRUCT DRM_PRIVACY_SCREEN_LOOKUP(9) πΈ
okay bestie, so this is a page from the Kernel API Manual and it's about struct drm_privacy_screen_lookup β yes it's a struct, yes it's in the kernel, and yes we're gonna get through it together π
π NAME π
struct drm_privacy_screen_lookup β the static privacy-screen lookup list entry. that's it, that's the whole vibe β¨
π¦ SYNOPSIS π¦
struct drm_privacy_screen_lookup {
struct list_head list;
const char *dev_id;
const char *con_id;
const char *provider;
};
four little fields, all iconic, no notes π
π Members π
listβ the lookup list list-entry. literally the little hook that keeps this thing chained into the list π«Άdev_idβ the consumer device name. orNULLto match all devices β yes, all of them, she's not picky πcon_idβ the consumer connector name. orNULLto match all connectors. same energy, no cap βproviderβ thedev_nameof theprivacy_screenprovider. that's the one doing the actual providing, main character energy fr fr π₯
π DESCRIPTION π
so this struct is what powers the static lookup-list β the thing that maps privacy-screen consumer dev-connector pairs over to a privacy-screen provider. think of it as the group chat that introduces the consumers to the provider π
it's giving matchmaker, honestly π§
β SEE ALSO β
- Kernel file
./include/drm/drm_privacy_screen_machine.hβ go read it, bestie, it's right there π
π quick reminder:dev_idandcon_idare the ones that can beNULLto match everything βprovideris just the provider'sdev_name. don't mix 'em up, iykyk
and that's a wrap, gorgeous π
this page lives in ./include/drm and it's dated October 2026 β so yes, very much the future, we stan a forward-thinking kernel page πβ¨π¦
π¦ 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