alloc_validate_connector(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… alloc_validate_connector(9) β€” like, the connector-builder for event_property_validate() tests ✨

okay so bestie, welcome to the alloc_validate_connector(9) page from the Kernel API Manual πŸŽ€ this one's a little helper that spins up a fake connector so the HDCP test suite has something to poke at. it's giving "supporting cast member who absolutely carries the scene" energy, ngl πŸ’–


🌸 NAME 🌸

alloc_validate_connector β€” the connector for event_property_validate() tests πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct amdgpu_dm_connector * alloc_validate_connector (struct kunit
*test , unsigned int index , enum drm_connector_status status , bool
with_state );

that's the whole signature, no cap. four args in, one shiny struct amdgpu_dm_connector * out 🫢


✨ ARGUMENTS ✨

  • test β€” the KUnit test context, used for the managed allocation. it's the one holding the bag so nothing leaks 😌
  • index β€” the drm connector index you want assigned. you pick it, it wears it πŸ’…
  • status β€” the drm connector detection status to assign. gotta tell the fake connector how it's feeling 🩺
  • with_state β€” whether to attach a zeroed drm_connector_state. yes please = a state gets bolted on, all zeroed out ✨

πŸ’œ DESCRIPTION πŸ’œ

so what it actually does: it allocates an amdgpu_dm_connector that's sufficient for the traversal that happens inside event_property_validate. that's the whole job, and it does it slayfully πŸ‘‘

here's the tea though β€” mod_hdcp_query_display has no active display, so it bails out early 😭 and because it returns early, it leaves the pre-set HDCP_OFF query completely untouched. like, not even a little smudge. iconic behaviour, honestly 🧚

no active display β†’ early return β†’ HDCP_OFF query stays exactly as it was set. that's the entire bit, and it's lowkey perfect 🌈

πŸ”₯ SEE ALSO πŸ”₯

πŸ“ Kernel file

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

🌸 HDCP get-CP tests

πŸŽ€ HDCP adjustments tests

πŸ¦‹ Workqueue + process output crew

πŸ’… Property update squad

⭐ Callback + validate crew

πŸ‘‘ Watchdog timer besties

🌈 CPIRQ gang

πŸ’– HDCP update display tests

🧚 HDCP create workqueue tests

πŸ”₯ PSP / SRM data tests

🌸 Locked workqueue + connector helpers

πŸ’œ HDCP display state tests (the sequel)

πŸ¦‹ ASSR era

⭐ Update config finale


and that's the page, bestie πŸ’– source lives under ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's filed under alloc_validate_connector(9) in the Kernel API Manual β€” go forth and allocate responsibly, mwah πŸ«ΆπŸ’…βœ¨

πŸ“¦ where this page comes from