dm_test_bac...power_module(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

dm_test_backlight_set_level_pwm_programs_power_module β€” bestie, this is the test that checks the PWM programming path πŸ’…

(oh also, hi, this is the Kernel API Manual, welcome to the group chat 🫢)


🌸 SYNOPSIS 🌸

void dm_test_backlight_set_level_pwm_programs_power_module (struct kunit
*test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context, aka the little backpack this test carries its stuff in πŸŽ’

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: aux_support is cleared, right? so when set_level gets called, it takes the millipercent branch β€” no cap, that's just the route it goes πŸ”₯

and what lives on that branch? literally just get_brightness_range + mod_power_set_backlight_percent. that's the whole itinerary ✈️

also bestie, real talk: a NULL power_module keeps that call a safe early-false. safe! early! false! she's protected, she's fine, she's not crashing today πŸ™ˆ


πŸ’œ SEE ALSO πŸ’œ

πŸ“ Kernel file

./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c

🧚 the whole friend group (all of them, no skips)


ok that's the whole page bestie, go read the tests, they ate πŸ’…βœ¨

sign-off time πŸŽ€ this lil gem comes from ./drivers/gpu/drm/amd/display/... and it was stamped October 2026 β€” so mark your calendar, queen πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from