dm_test_crtc..._ips_restore(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_crtc_enable_vblank_ips_restore(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual, bestie β€” welcome, pull up a chair 🫢


✨ NAME ✨

dm_test_crtc_enable_vblank_ips_restore β€” the test for IPS/self-refresh vblank restore, and honestly? she's iconic πŸ‘‘


🌸 SYNOPSIS 🌸

void dm_test_crtc_enable_vblank_ips_restore (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context πŸ’– this is the one and only thing you hand her, and she takes it from there.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe check πŸ” β€” when the DC advertises IPS support with IPS not fully disabled, self-refresh is supported, and immediate vblank disable is configured, then the enable path must call drm_crtc_vblank_restore to estimate missed vblanks before arming the IRQs. literally the order matters, no cap βœ‹

after that lil restore moment, the enable path then runs to completion 🌈 that's it, that's the whole test. periodt. πŸ’…

fr fr, this test is just making sure the restore call actually happens at the right spot before the IRQs get armed β€” it's giving "small but crucial" energy 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives riiight here, bestie πŸ“:

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

and here's the whole friend group β€” the entire test fam, all of them, in order πŸ’œ:


okay that's the whole page, bestie πŸ“ ngl you ate that reading session. this one comes from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” go off, future era πŸ“…βœ¨ mwah, see u in the next man page πŸ’‹πŸ’–

πŸ“¦ where this page comes from