dm_test_hdcp...nks_null_srm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_hdcp...nks_null_srm β€” a Kernel API Manual moment πŸŽ€

okay so bestie, welcome to the Kernel API Manual page for dm_test_hdcp...nks_null_srm(9) β€” yes the title is literally abbreviated with dots, she's mysterious like that ✨


🌸 NAME 🌸

dm_test_hdcp_destroy_zero_links_null_srm β€” teardown, but make it the easy mode: zero links, and a big fat SRM of NULL 🫢


✨ SYNOPSIS ✨

void dm_test_hdcp_destroy_zero_links_null_srm (struct kunit *test );

like, that's the whole signature. no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context 🌈 (the little sandbox the test lives in, iykyk)

πŸ’– DESCRIPTION πŸ’–

so the vibe here is teardown, and it's giving "nothing to see here, and that's the point" 😌

when max_link == 0, the cancel loop is skipped entirely β€” not run zero times slowly, skipped, bestie ⭐ and since srm / srm_temp are NULL, those kfree calls are literally no-ops πŸ“

and yet β€” and this is the main character energy part β€” hdcp_destroy must still remove the sysfs bin file πŸ“ and free the workqueue 🧡 without crashing πŸ’€ like, no links, no SRM, and she still has to clean up her room. periodt.

fr fr: the whole test is "does destroy survive when it has basically nothing to destroy." dramatic? no. important? yes 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file 🧚

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

and the whole ✨squad✨ of related pages, in order:


that's the whole page, bestie πŸ’œ mwah πŸ’‹

and the cute sign-off: this lil page lives under ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” she's from the future, iconic πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from