dm_test_psr_..._and_allowed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_psr_..._and_allowed β€” the manual page, bestie edition πŸ’…

okay so picture this: you're poking around the Kernel API Manual (that's the man page section, and the page itself is literally called dm_test_psr_..._and_allowed(9) β€” yes the name is that long, she's extra and we love her for it) πŸŽ€


✨ NAME ✨

dm_test_psr_is_active_allowed_requires_enabled_and_allowed β€” bestie, the whole entire point of this one is that both link flags have to be set before PSR active is allowed. That's it, that's the thesis. No shortcuts, no vibes-based loopholes. 🫢


🌸 SYNOPSIS 🌸

void dm_test_psr_is_active_allowed_requires_enabled_and_allowed (struct
kunit *test );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context. That's her little backstage pass, the thing the test framework hands over so the test can do its thing. πŸ’œ

🌈 SEE ALSO 🌈

first up, the actual kernel file this lives in β€” go look, it's right there, iykyk:

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

and then the whole friend group of sibling tests, all of them, no cap, not skipping a single one (this is the roster and we're respecting the roster):

like… the way this one test has a whole squad around it? main character energy fr fr πŸ‘‘


lowkey reminder: this page came out October 2026 and it lives at ./drivers/gpu/drm/amd/display/... β€” and the page you just read is dm_test_psr_..._and_allowed(9). mwah, slay, go read the source bestie πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from