i915_hotplu...rrupt_update(9)
π i915_hotplug_interrupt_update β like, the Kernel API Manual, bestie π
okay so welcome to i915_hotplu...rrupt_update(9), from the Kernel API Manual β yes the title is literally truncated with dots, that's not me being lazy, that's just how it's printed, iykyk π
β¨ NAME β¨
i915_hotplug_interrupt_update β update hotplug interrupt enable π¦
like⦠it updates the hotplug interrupt enable. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
void i915_hotplug_interrupt_update (struct intel_display *display , u32
mask , u32 bits );
literally exactly that, character for character, don't come for me π«Ά
π ARGUMENTS π
displayβ the display device. the main character of this whole operation, honestly πmaskβ bits to update. it's giving "which ones are we touching" π―bitsβ bits to enable. the ones we're actually turning on β¨
β οΈ NOTE β οΈ
okay bestie, this is the part where you gotta listen, fr fr π
the HPD enable bits get modified both inside AND outside of an interrupt context. and likeβ¦ to avoid those read-modify-write cycles interfering with each other (messy, we hate that π), these bits are protected by a spinlock π
since this function is usually not called from a context where the lock is held already, this function acquires the lock itself πͺ
and β good news β a non-locking version is also available, so if you're already holding it, you're covered π«Ά
ngl, do NOT just assume the lock is free. that's the whole point of the note. respect the spinlock, it's iconic and it will humble you π
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/i915/display/intel_hotplug_irq.c β go read it, it's right there, lowkey obsessed with how hard this path goes π
and that's the whole page, bestie!! β¨πππ¦πΈπ π«Ά
cute little sign-off time: this one lives under ./drivers/gpu/drm/i915/display, it's dated October 2026, and the manual is i915_hotplu...rrupt_update(9). periodt. ππ
π¦ 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