dm_test_dmub...checks_dcn31(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_dmub...checks_dcn31(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual, we're looking at dm_test_dmub...checks_dcn31(9) and honestly? she's a whole vibe. buckle up πŸŽ€


✨ NAME ✨

dm_test_dmub_hw_init_sanity_checks_dcn31 β€” the test that checks hw init actually turns on the DCN31 sanity checks. literally her whole purpose πŸ’–


🌸 SYNOPSIS 🌸

void dm_test_dmub_hw_init_sanity_checks_dcn31 (struct kunit *test );

like… that's it. that's the whole signature. clean, minimal, iconic πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context. this is the lil container the test framework hands you, and yes you need it, no you can't skip it 🫢

πŸ’« DESCRIPTION πŸ’«

okay so picture this: you're on DCN3.1.2 and the DMCUB firmware version is sitting in the affected range. what should happen? dm_dmub_hw_init should enable the DC sanity-check debug flag. that's the whole thing. that's what this test is verifying, no cap πŸ”₯

like, the test exists specifically to make sure that flag gets flipped on in that exact situation. if it doesn't? that's a fail, bestie 😭


πŸ‘‘ SEE ALSO πŸ‘‘

the Kernel file:

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

and the whole friend group (aka the rest of the crew, all (9)):

like, she has so many siblings and they're all equally valid, we love a big family πŸ’œ


🧚 sign-off 🧚

that's the page, bestie! footer deets for the record: source/version is ./drivers/gpu/drm/amd/display/... and the date is October 2026, all wrapped up under dm_test_dmub...checks_dcn31(9). periodt πŸ’…βœ¨

go forth and sanity-check those flags 🌈

πŸ“¦ where this page comes from