r100_hpd_sense(9)
β¨ r100_hpd_sense(9) β the vibe check for ur monitor π
okay so real talk, bestie β this is a page straight out of the Kernel API Manual, and it's all about one tiny lil function that answers the biggest question of all: is something actually plugged in?? π«Ά Let's get into it.
πΈ NAME πΈ
r100_hpd_sense β the hpd sense callback, and yes it's exactly as iconic as it sounds β¨
π SYNOPSIS π
bool r100_hpd_sense (struct radeon_device *rdev , enum radeon_hpd_id hpd
);
literally just one call, two args, returns a bool. so clean. so slay. π
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer. it's giving "the whole device, bestie" energy πhpdβ the hpd (hotplug detect) pin. yes, that pin. the one that's literally in charge of noticing things π
π DESCRIPTION π
so what does it actually do? it checks if a digital monitor is connected (that's for r1xxβr4xx, iykyk π₯).
the way that it works is so simple it's almost rude: returns true if connected, false if not connected. that's it. that's the whole function. main character energy fr fr π
no cap, it doesn't guess. it doesn't vibe-check twice. it just tells u yes or no. periodt. β¨
π SEE ALSO π
the kernel file is ./drivers/gpu/drm/radeon/r100.c β go read it if ur feeling brave, bestie π«Ά
and the whole friend group shows up too:
r100_wait_for_vblank(9)r100_page_flip(9)r100_page_flip_pending(9)r100_pm_get_dynpm_state(9)r100_pm_init_profile(9)r100_pm_misc(9)r100_pm_prepare(9)r100_pm_finish(9)r100_gui_idle(9)r100_hpd_set_polarity(9)r100_hpd_init(9)r100_hpd_fini(9)r100_ring_hdp_flush(9)r100_cs_packet_parse_vline(9)
like a whole squad of r100 functions, all iconic, all doing their thing π
π§ sign-off π§
this page lives in ./drivers/gpu/drm/radeon, dated October 2026, and it's r100_hpd_sense(9) forever and always ππ mwah, go touch some hardware (metaphorically) π¦β
π¦ 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