dm_test_crt...store_replay(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_crt...store_replay(9) β€” like, the Kernel API Manual edition πŸŽ€

okay bestie, buckle up, because this is a kernel API manual page and I'm about to make it make sense ✨


🌸 NAME 🌸

dm_test_crtc_enable_vblank_ips_restore_replay β€” the test that checks IPS restore works when the self-refresh support comes from replay instead of PSR. yes, that's a whole mouthful, i know, i know 😭


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_crtc_enable_vblank_ips_restore_replay (struct kunit *test
);

like, that's the whole signature. one arg. she's lowkey minimal πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context. that's it, that's the arg. it's giving "just here to hold the test together" energy 🫢

✨ DESCRIPTION ✨

okay so this test is literally the sibling of dm_test_crtc_enable_vblank_ips_restore β€” same vibes, except the self-refresh support gets established through replay instead of PSR. no cap πŸ”₯

here's the tea: the PSR version is unsupported in this scenario, so the sr_supported computation has to fall all the way through to pr->config.replay_supported. the way that fallthrough is the whole point of this test, iykyk 🧚

and through all of it, the enable path still calls drm_crtc_vblank_restore and then completes. iconic behavior, honestly πŸ‘‘


πŸ’– SEE ALSO πŸ’–

the kernel file this lives in, bestie:

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

and here's the whole squad β€” every last one of them, no skipping, i promised πŸ™ˆ:


fr fr that's every single one. i counted. twice. because i love you πŸ«ΆπŸ’œ

and that's the page, babe πŸ’– this one came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” so like, from the future, iconic honestly β­πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from