dm_test_crtc..._no_sr_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

dm_test_crtc_set_static_screen_optimze_no_sr_entry β€” bestie, this is the KUnit test that checks the early return when SR entry is not allowed ✨ (and yes, the function name is spelled optimze, that's not a typo on my end, that's just how it lives πŸ’…). Oh and hi, welcome to the Kernel API Manual page for dm_test_crtc..._no_sr_entry(9) 🫢


✨ SYNOPSIS ✨

void dm_test_crtc_set_static_screen_optimze_no_sr_entry (struct kunit
*test );

That's it. One argument, zero drama πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context 🧚 that's the whole vibe, it just needs to be passed in so the test framework knows what's up

πŸ’œ DESCRIPTION πŸ’œ

Okay so picture this 🌸: when self-refresh entry is not allowed, the function has to return immediately β€” like, no detours, no lingering, no "wait let me just…" 😭 β€” and it must not touch replay or PSR events at all. Not even a little. Not even a peek πŸ‘€

And the important part: it does that regardless of the requested SSO state. Whatever SSO state you asked for, doesn't matter, the early return ate and left no crumbs πŸ’… periodt.

lowkey the whole point of this test is proving that early return actually early-returns πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file, bestie β€” go read the source, it's giving main character energy:

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

And now the entire friend group of sibling tests β€” every single one, no gatekeeping 🫢:


okay that's the whole page, you ate that πŸ’…βœ¨ mwah 🫢

sign-off time, bestie: this lil beauty lives over in ./drivers/gpu/drm/amd/display/... and it's dated October 2026 ⭐ so yeah, future vibes only πŸ¦‹ bye pookie, go write some tests πŸ’–πŸŽ€

πŸ“¦ where this page comes from