dm_test_mode..._and_modeset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_mode..._and_modeset(9) β€” from the Kernel API Manual πŸŽ€

okay so picture this: it's the kernel API manual, it's for the test side of things, and it's about to explain one extremely specific little unit test. bestie, we're in dm_test_mode..._and_modeset(9) territory and honestly? it's giving focused. πŸ¦‹


✨ NAME ✨

dm_test_modereset_required_when_inactive_and_modeset β€” the test that checks whether modereset is required when inactive and modeset. that's the whole vibe check. no cap. 🫢


🌸 SYNOPSIS 🌸

void dm_test_modereset_required_when_inactive_and_modeset (struct kunit
*test );

literally one function, one argument, returns nothing (void), and it takes a struct kunit *. that's it, that's the icon. πŸ‘‘


⭐ ARGUMENTS ⭐

  • test β€” the KUnit test context πŸ’–. that's the one and only thing you hand it. it's the little test harness wrapper that KUnit uses to know what's going on, and yes she's a pointer. keep her safe.

πŸ”₯ SEE ALSO πŸ”₯

first up, the kernel file herself lives right here:

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

and then β€” buckle up bestie, this is a long list, and every single one of these is a real sibling test, so we're naming them all. no skipping, no summarising, we don't do that here 🌈:

like… that's the whole friend group 😭 and yes, this page is the one about dm_test_modereset_required_when_inactive_and_modeset, the specifically-inactive-and-modeset one β€” don't get it twisted with the not required twins up there, they are different tests and they know it. πŸ’€

ngl the takeaway is simple: one KUnit context in, one void out, and a whole lot of cousins in SEE ALSO. periodt. 🧚

and that's the page, bestie! πŸ“ little sign-off: this one comes from the source path ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” so mark your calendars, the docs were feeling ✨ahead of their time✨. πŸ’œπŸ’…

πŸ“¦ where this page comes from