dm_test_crtc...opies_fields(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_crtc_duplicate_state_copies_fields β€” a Kernel API Manual moment ✨

okay so bestie, we're in the Kernel API Manual today and this page is literally about dm_test_crtc_duplicate_state_copies_fields β€” a KUnit test that just wants to make sure your duplicated CRTC state doesn't ghost its DM fields. no cap, it's a whole vibe check for state copying πŸ’–


✨ NAME ✨

dm_test_crtc_duplicate_state_copies_fields β€” the test where duplicated state has to carry the DM fields, periodt πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_crtc_duplicate_state_copies_fields(struct kunit *test);

🌸 ARGUMENTS 🌸

  • test β€” the KUnit test context, aka the little group-chat thread the test runs inside 🫢

πŸ’… DESCRIPTION πŸ’…

So here's the lore πŸ‘‘: when you duplicate a CRTC state without a stream, you have to end up with a brand-new state that carries over the DM-specific fields from the current state. that's it, that's the whole test. new state, old DM fields, no losing anything in the handoff. slay πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

Kernel file

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

and the rest of the squad (literally the whole group chat, iykyk) 🧚:


bestie pls note: the source path gets abbreviated in the footer, so it's ./drivers/gpu/drm/amd/display/... β€” don't come for me, that's just how the page renders it πŸ™ˆ

and that's the whole page!! source lives under ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's page dm_test_crtc...opies_fields(9) of the Kernel API Manual. mwah, go run your tests πŸ’œπŸŒΈβœ¨

πŸ“¦ where this page comes from