dm_test_get_plane_formats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_get_plane_formats(9) πŸ’…

okay so this is a page from the Kernel API Manual β€” yes, the actual kernel manual, we're in that territory now bestie, DRM/AMD display test land, and honestly? it slays.


✨ NAME ✨

dm_test_get_plane_formats β€” the vibe-check test that confirms plane format counts are actually correct for the key plane types. no cap.


🌸 SYNOPSIS 🌸

void dm_test_get_plane_formats (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context. that's it, that's the whole argument. she takes one (1) thing and she's iconic for it 🫢

πŸ’– DESCRIPTION πŸ’–

so basically this test verifies whether the returned format counts match up with the primary, overlay, and cursor planes. like, she's checking the math fr fr. count comes back, does it line up with what each of those plane types should have? that's the entire assignment and she ate. πŸ”₯

it's giving "small function, big responsibility." lowkey main character energy for a unit test. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file

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

and the whole extended friend group, alphabetically adjacent and everything, all of them (9) sections obviously, we don't do anything less:

like… that's the whole group chat. every single one made the list. πŸ¦‹


and that's the page!! source/version situation is ./drivers/gpu/drm/amd/display/... and it's dated October 2026, so jot that down bestie, and go read your plane formats. mwah πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from