dm_test_even...s_null_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_event_property_update_skips_null_state β€” a whole vibe check for the kernel API manual ✨

okay bestie, so real talk: this is a page from the Kernel API Manual (yes, the (9) section, we love a kernel-internal moment πŸ’œ), and honestly it's a tiny one but it's so specific and I need you to appreciate it.


🌸 NAME 🌸

dm_test_event_property_update_skips_null_state β€” literally the whole point: if the state is missing, we skip it, no cap.


✨ SYNOPSIS ✨

void dm_test_event_property_update_skips_null_state(struct kunit *test);

that's it. that's the whole signature. she's a void returning queen πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context. that's her little world, her little stage, everything she needs to run πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this πŸ™ˆ β€” you've got a connected connector with no drm_connector_state at all. like, no state. nothing. empty. ghosted πŸ’€

the rule is: that connector must be skipped before the modeset lock is ever touched, and the result is that encryption_status stays unchanged.

so basically the test is checking that the code has the good sense to bounce before it grabs the lock and starts messing with encryption status. icon behavior, honestly. no state = no problem, we move on 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

like... a lot of siblings. this is a big family. buckle up bestie πŸŽ€

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

then the whole crew:


that's the whole page bestie, she's short but she's thorough 🧚


⭐ and that's the tea ⭐ β€” this page came from ./drivers/gpu/drm/amd/display/..., dated October 2026, same date as the footer of the original. mwah πŸ’‹

πŸ“¦ where this page comes from