vc4_mock_atomic_del_output(9)
π vc4_mock_atomic_del_output β a whole page from the Kernel API Manual π
okay bestie, sit down, because today we're looking at vc4_mock_atomic_del_output β yes that's the whole name, yes it's a mouthful, no we're not shortening it, it's iconic and it deserves its full government name. This is the fourth page of the Kernel API Manual and honestly? she ate. π¦
β¨ NAME β¨
vc4_mock_atomic_del_output β literally just disables an output in a state. that's the whole vibe check. π
πΈ SYNOPSIS πΈ
int vc4_mock_atomic_del_output (struct kunit *test , struct
drm_atomic_commit *state , enum vc4_encoder_type type );
like yes, she returns an int, and yes, she takes three things. we'll get to those. π«Ά
π ARGUMENTS π
testβ the test context object. hi bestie, it's your kunit test, she's the main character here πstateβ the atomic state you want the output disabled in. this is the one getting the glow-down β¨typeβ the type of the output encoder.enum vc4_encoder_type, no cap π§
π DESCRIPTION π
so what does she actually do? she adds an output CRTC and a connector to a state β and then disables them. both. added, then switched off. it's giving "invited to the party and immediately uninvited" energy π
that's it. that's the whole description. short, sweet, slay. π
β RETURN β
- returns
0on success π - returns a negative error code on failure π
- > β οΈ and listen carefully bestie: if that error is
EDEADLK, the entire atomic sequence must be restarted. not a little restart. the whole sequence. periodt. - all other errors are fatal β like, no coming back from those π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/vc4/tests/vc4_mock_output.cβ go read the source, iykyk π vc4_mock_atomic_add_output(9)β the add version, the sibling, the sister page π
and that's the page! shoutout to the source over in ./drivers/gpu/drm/vc4/tests, dated October 2026, living under the title vc4_mock_atomic_del_output(9) in the Kernel API Manual β mwah, love that for her ππΈβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms