dm_test_crtc..._source_none(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dm_test_crtc..._source_none(9) ✨

Okay bestie, so this one's from the Kernel API Manual, section 9 β€” yes, the section 9 of it all, we love a numbered chapter moment πŸ’…. It's giving "tiny function, very specific job, absolutely iconic" energy. Let's get into it 🫢


🌸 NAME 🌸

dm_test_crtc_configure_crc_source_none β€” the test that checks whether the CRC disable path actually, y'know, disables. No cap, that's the whole vibe πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_crtc_configure_crc_source_none (struct kunit *test );

That's it. That's the whole signature. Returns nothing (void), takes exactly one thing, and it's a struct kunit *test. Clean, minimal, main character energy ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context, i.e. the little backpack of test-runner stuff this function carries around. It's the only thing you hand it. Give it your test and let it cook πŸ“

πŸ‘‘ DESCRIPTION πŸ‘‘

Okay so picture this: the function is verifying that when the CRC source is set to NONE, the DC CRC capture gets disabled properly β€” and on top of that, that the default dither and dynamic expansion get restored to where they belong.

So basically: turn the capture off, put the settings back the way mama left them. Verified. Slay πŸ”₯

Not me being obsessed with a cleanup path β€” but honestly? A test that checks the restore actually happens is lowkey the most responsible thing in the whole file πŸ’€πŸ’œ

🧚 SEE ALSO 🧚

The kernel file we're living in, for reference (iykyk):

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

And the whole squad of related tests β€” every single one, no skipping, fr fr:

Like, the entire friend group showed up to the group chat. We love a full roster 🀩


πŸ’« Sign-off πŸ’«

This lil beauty lives under ./drivers/gpu/drm/amd/display/..., dated October 2026, and the manual page answers to the name dm_test_crtc..._source_none(9) β€” same as the title, because brand consistency is key πŸ‘‘. Anyway bestie, go forth and disable some CRC sources responsibly. Mwah πŸ’‹πŸŒˆβ­

πŸ“¦ where this page comes from