ENUM DRM_PRIVACY_SCREEN_STATUS(9)
π enum drm_privacy_screen_status(9) β the Kernel API Manual, but make it cute
okay so bestie, we're in the Kernel API Manual today and the main character is enum drm_privacy_screen_status β literally the privacy screen status enum. yes, the little "can people peek at my screen" switch on some panels. it's giving corporate confidentiality energy and honestly? obsessed. π
β¨ NAME β¨
enum drm_privacy_screen_status β privacy screen status. that's it, that's the whole name. short, sweet, iconic. π
πΈ SYNOPSIS πΈ
here's the whole enum, verbatim, do not touch, do not edit, do not "clean it up" bestie i'm serious:
enum drm_privacy_screen_status {
PRIVACY_SCREEN_DISABLED ,
PRIVACY_SCREEN_ENABLED ,
PRIVACY_SCREEN_DISABLED_LOCKED ,
PRIVACY_SCREEN_ENABLED_LOCKED
};
four constants, one enum, zero notes. slay. π¦
π«Ά Constants π«Ά
the four moods of your privacy screen, ranked by how much they want to be touched:
PRIVACY_SCREEN_DISABLEDβ the privacy-screen on the panel is disabled. screen is out there, wide open, everyone can read your texts. πPRIVACY_SCREEN_ENABLEDβ the privacy-screen on the panel is enabled. side-eye protection activated, nobody's reading over your shoulder. π₯PRIVACY_SCREEN_DISABLED_LOCKEDβ the privacy-screen on the panel is disabled and locked (cannot be changed). so it's off AND nobody can turn it on. the vibes are immovable, fr fr. πPRIVACY_SCREEN_ENABLED_LOCKEDβ the privacy-screen on the panel is enabled and locked (cannot be changed). on forever, no take-backs, main character energy with a padlock. π
lowkey important: those_LOCKEDvalues only count for the"privacy-screen hw-state"property. they are not valid for"privacy-screen sw-state". iykyk, don't mix them up. β
π Description π
so this enum is the whole tracking-and-controlling system for the integrated privacy screen that's built into some display panels. you drive it through two properties:
"privacy-screen sw-state""privacy-screen hw-state"
and again, because it matters: the _LOCKED enum values are only valid for the "privacy-screen hw-state" property. periodt. π
π§ SEE ALSO π§
go read these next, bestie, the rabbit hole is deep and it's all in the kernel file ./include/drm/drm_connector.h:
enum drm_connector_status(9), enum drm_connector_registration_state(9), enum drm_connector_tv_mode(9), struct drm_scrambling(9), struct drm_hdmi_dsc_cap(9), struct drm_hdmi_info(9), enum drm_link_status(9), enum drm_panel_orientation(9), enum drm_hdmi_broadcast_rgb(9), struct drm_monitor_range_info(9), struct drm_luminance_range_info(9), enum drm_colorspace(9), enum drm_output_color_format(9), enum drm_connector_color_format(9), enum drm_bus_flags(9), struct drm_amd_vsdb_info(9), struct drm_display_info(9), struct drm_connector_tv_margins(9), struct drm_tv_connector_state(9), struct drm_connector_hdmi_infoframe(9), struct drm_connector_state(9), struct drm_connector_cec_funcs(9), struct drm_connector_infoframe_funcs(9), struct drm_connector_hdmi_funcs(9), struct drm_connector_funcs(9), struct drm_cmdline_mode(9), struct drm_connector_hdmi_audio(9), struct drm_connector_cec(9), struct drm_connector(9), drm_connector_lookup(9), drm_connector_get(9), drm_connector_put(9), drm_connector_is_unregistered(9), struct drm_tile_group(9), struct drm_connector_list_iter(9), drm_for_each_connector_iter(9), drm_connector_for_each_possible_encoder(9)
and that's the page!! π it lives under ./include/drm, dated October 2026, and it's filed as enum drm_pri...creen_status(9) β yes the title got truncated, no we're not fixing it, it's camp. bye bestie, go lock a privacy screen for me πβ¨
π¦ 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