STRUCT AMDGPU_DM_LUMINANCE_DATA(9)
π struct amdgpu_dm_luminance_data β Kernel API Manual π
okay bestie, so this is a whole page about struct amdgpu_dm_luminance_data(9), and it's giving "tiny struct, big main character energy" β¨ it lives in the Kernel API Manual, and honestly? it's short, it's sweet, and it ate. let's get into it π
β¨ NAME β¨
struct amdgpu_dm_luminance_data β literally just Custom luminance data π
that's the whole vibe, no cap.
π¦ SYNOPSIS π¦
here's the struct in all its glory, copied exactly, don't come for me:
struct amdgpu_dm_luminance_data {
u8 luminance;
u8 input_signal;
};
two members, both u8, both iconic. obsessed π«Ά
πΈ Members πΈ
luminanceβ Luminance in percent π‘ (yes, percent, keep that in mind, bestie, it's not 0-255 like its sibling π)input_signalβ Input signal in range0-255ποΈ so like, a full byte range, exactly what you'd expect from au8. slay.
π SEE ALSO π
bestie there is a lot of family here, and this struct is the moment, but the whole friend group at the kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h is also eating:
struct dm_compressor_info(9)struct dm_boot_time_crc_info(9)struct dmub_hpd_work(9)struct vblank_control_work(9)struct idle_workqueue(9)struct vupdate_offload_work(9)struct amdgpu_dm_backlight_caps(9)struct dal_allocation(9)struct hpd_rx_irq_offload_work_queue(9)struct hpd_rx_irq_offload_work(9)struct amdgpu_display_manager(9)struct amdgpu_hdmi_vsdb_info(9)
like, twelve whole structs?? it's a whole group chat, iykyk ππ
ngl bestie, if you're poking aroundamdgpu_dm.hyou're deep in the DRM/AMD display driver. hydrate, take breaks, and remember:luminanceis in percent andinput_signalis0-255π
β and that's the page!! no bugs, no warnings, no environment variables, just a cute little struct being its best self π§ source/version is ./drivers/gpu/drm/amd/display/..., dated October 2026, and this whole thing is struct amdg...minance_data(9) β the truncated title is doing its own thing, we love it anyway π Ctrl+D your way out, mwah π
π¦ 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