drm_panic_is_enabled(9)
π drm_panic_is_enabled(9) β the Kernel API Manual moment
okay so bestie, welcome to drm_panic_is_enabled(9) from the Kernel API Manual β this is the little vibe check you run on a DRM device to find out if it's got panic support energy or not β¨
πΈ NAME πΈ
drm_panic_is_enabled β
(yeah so the original page literally leaves this blank after the dash, no cap. the description lives further down, we're just being mysterious about it π )
β¨ SYNOPSIS β¨
bool drm_panic_is_enabled (struct drm_device *dev );
π what that means
- returns a
bool(so like,trueorfalse, iconic) - takes exactly one argument, a
struct drm_device *nameddev
π¦ ARGUMENTS π¦
devβ the drm device that may supports drm_panic. that's the one you're asking about, bestie π«Ά
ngl that "may supports" is exactly how the original words it, so we're keeping it fr fr β don't come for me π
π DESCRIPTION π
so here's the tea β β this function returns true if the drm device supports drm_panic. that's it. that's the whole thing. lowkey elegant, highkey useful π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_panic.coverview(9) drm_panic_register(9)drm_panic_unregister(9)drm_panic_init(9)drm_panic_exit(9)
like, go read the whole drm_panic.c overview if you want the full lore, and then meet the rest of the squad up there π§π
and that's the page!! mwah π β brought to you by the folks over in ./drivers/gpu/drm, dated October 2026, printed under the Kernel API Manual banner. go off, check your panic support, and stan a well-documented kernel βπ
π¦ 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