alloc_test_...for_callback(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to alloc_test_...for_callback(9) from the Kernel API Manual πŸ’… This page is all about alloc_test_workqueue_for_callback β€” workqueue ready for event_callback() ✨

✨ SYNOPSIS ✨

struct hdcp_workqueue * alloc_test_workqueue_for_callback (struct kunit
       *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” KUnit test context for managed allocation 🧚

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this allocates a minimal hdcp_workqueue with its mutex and the three delayed works all initialised. That setup is exactly what's required by the guard(mutex), cancel_delayed_work and process_output usage inside event_callback πŸ’– It's giving "prep the stage so the callback can do its thing," and honestly? Obsessed. 🌈

πŸ’– SEE ALSO πŸ’–

Kernel file: ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c 🌸

The whole related-test bestie squad, in order:


Source/version: ./drivers/gpu/drm/amd/display/... Β· Date: October 2026 Β· Page: alloc_test_...for_callback(9) β€” mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from