dm_test_crtc...source_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dm_test_crtc_verify_crc_source_valid β€” from the Kernel API Manual (9) section, bestie ✨

Okay so this is a page straight out of the Kernel API Manual, section 9 β€” yes the test/API one β€” and the star of the show is dm_test_crtc_verify_crc_source_valid. She's a KUnit test function, she's in the AMD display driver's corner of the kernel, and she has one very specific job. Let's get into it πŸ’…


🌸 NAME 🌸

dm_test_crtc_verify_crc_source_valid β€” literally just testing that valid CRC source verification works the way it's supposed to πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_crtc_verify_crc_source_valid (struct kunit *test );

πŸ’– ARGUMENTS πŸ’–

  • test β€” the KUnit test context, aka the little bubble this test runs inside 🫢

🧚 DESCRIPTION 🧚

So here's the vibe: this test verifies that valid source strings come back as success, and that they request three CRC values. That's it, that's the whole assignment. Three CRC values, success, no drama ✨

No cap, it's a small test but she's doing her part. Valid sources get the green checkmark, and the count lands on three. Periodt πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file this lives in, for when you want to go read the source yourself (iconic behaviour, honestly):

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

And the whole friend group of related tests β€” she does not exist in isolation, bestie, look at this roster πŸ”₯


And that's the whole page, babes 🌈 Quick sign-off so you have the receipts: this one comes from ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's filed under dm_test_crtc...source_valid(9). Go forth and test those CRC sources πŸ’œπŸ“

πŸ“¦ where this page comes from