dm_test_cou..._planes_none(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 dm_test_cou..._planes_none(9) β€” Kernel API Manual 🌸

okay bestie, welcome to the Kernel API Manual entry for dm_test_cou..._planes_none(9) β€” yes the title is truncated with the lil ... and yes that's exactly how it ships, don't come for me, that's just how the header is written πŸ’… the full function name is down in NAME, keep reading.


✨ NAME ✨

dm_test_count_crtc_active_planes_none β€” the test that checks an empty plane list counts as zero, no cap, that's the whole gig πŸŽ€


πŸ’– SYNOPSIS πŸ’–

void dm_test_count_crtc_active_planes_none (struct kunit *test );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context πŸ§ͺ (this is the KUnit scaffolding handing you the test's info, that's it, that's the argument)

🌈 DESCRIPTION 🌈

So here's the vibe check: when there are no planes attached to the CRTC, the active plane count must be zero.

That's it. That's the test. Our fave function is out here making sure nothing magically appears out of an empty list β€” zero planes in, zero counted, periodt ✨

lowkey iconic that a test this small still gets its own manual page, and honestly? deserved πŸ‘‘

🌸 SEE ALSO 🌸

Kernel file πŸ“

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

and the whole friend group, the entire extended cinematic universe of DRM/AMD display tests, all of them, in order, no skips 🫢:


ngl bestie, if you got here by typing man dm_test_cou..._planes_none you already know what you're doing, and I'm obsessed πŸ“

and that's the page!! mwah πŸ’‹ sourced from ./drivers/gpu/drm/amd/display/... and stamped October 2026 β€” see u in the next dm_test_cou..._planes_none(9) era, love u, bye πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from