dm_test_shou...klight_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

dm_test_should_create_sysfs_no_backlight_index β€” okay so this is a KUnit test that checks whether an eDP (that's embedded DisplayPort, for the uninitiated πŸ’…) with no backlight index actually enables sysfs. Like, does the sysfs entry show up when there's no backlight index in the picture? That's the whole vibe check this test is running. πŸ¦‹

Also hey bestie, this page lives in the Kernel API Manual, section 9. Periodt.


🌸 SYNOPSIS 🌸

void dm_test_should_create_sysfs_no_backlight_index(struct kunit *test);

Returns nothing (void), takes exactly one thing, and yes we're gonna talk about that one thing right now πŸ‘‡


πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context. That's it, that's the whole argument list. It's giving "minimalist icon" energy. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

πŸ’– The kernel file

  • Kernel file: ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c β€” go read the source if you want the full lore, iykyk.

⭐ The whole friend group (all section 9, all linked)

ngl that's a lot of tests and every single one of them made the list, no skips, no cuts. We support the whole squad. πŸ‘‘

okay that's the whole page bestie, ily, go run your KUnit tests πŸ’œ

sign-off era: this was dm_test_shou...klight_index(9) from the Kernel API Manual, sourced from ./drivers/gpu/drm/amd/display/..., dated October 2026. Slay. πŸŽ€βœ¨

πŸ“¦ where this page comes from