r100_hpd_sense(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” a radeon_device pointer. 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:

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