evergreen_g...nfo_register(9)
πΈ evergreen_get_allowed_info_register(9) πΈ
okay so bestie, welcome to the Kernel API Manual π this one's a lil function from the radeon crew and honestly it's giving "short but essential" β like a single tweet that somehow explains the whole plot. let's get into it β¨
π« NAME π«
evergreen_get_allowed_info_register β the girl whose whole job is to fetch the register for the info ioctl π like, that's it, that's her job description, and she does it flawlessly.
π SYNOPSIS π
int evergreen_get_allowed_info_register (struct radeon_device *rdev ,
u32 reg , u32 *val );
copy it exactly, no cap, the spacing is the vibe π
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer π«Ά literally just the pointer to the radeon device, that's the whole thing.regβ register offset in bytes β yes, bytes, we're counting in bytes, don't come at me with no other unit.valβ register value π the value lives here. that's where the value goes.
π§ DESCRIPTION π§
so the way this works is: it returns 0 for success β¨ or -EINVAL for an invalid register π that's the entire behaviour, bestie β no secret bonus modes, no hidden features, no extra lore. 0 means slay, -EINVAL means the register you handed over was not it. periodt. π₯
π SEE ALSO π
the kernel file it lives in (iykyk) is here:
./drivers/gpu/drm/radeon/evergreen.c
and here's the full friend group, the whole squad, every single one of them π«Ά don't skip any, they're all main characters:
dce4_wait_for_vblank(9)evergreen_page_flip(9)evergreen_page_flip_pending(9)sumo_pm_init_profile(9)btc_pm_init_profile(9)evergreen_pm_misc(9)evergreen_pm_prepare(9)evergreen_pm_finish(9)evergreen_hpd_sense(9)evergreen_hpd_set_polarity(9)evergreen_hpd_init(9)evergreen_hpd_fini(9)evergreen_bandwidth_update(9)evergreen_mc_wait_for_idle(9)evergreen_gfx_is_lockup(9)
π reminder bestie:0= success,-EINVAL= invalid register. those are the only two plot twists. π
aaaand that's the whole page!! mwah π this came from ./drivers/gpu/drm/radeon, dated October 2026, and it's filed under evergreen_g...nfo_register(9) β go forth and register responsibly, bestie πΈπ¦βπ
π¦ 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