dm_test_adj...nvalid_depth(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ NAME πŸ‘‘

okay bestie, welcome to the Kernel API Manual β€” yes this is a (9) kernel API page and yes you're gonna read it. This one is dm_test_adjust_colour_depth_invalid_depth β€” affectionately known around the group chat as Test Adjust colour depth invalid depth. That's the whole job. It's a KUnit test, it does exactly one (1) thing, and it's iconic for it. πŸ’…


✨ SYNOPSIS ✨

void dm_test_adjust_colour_depth_invalid_depth (struct kunit *test );

like… that's it. that's the whole function signature. she's short, she's sweet, she's void. πŸŽ€


🌸 ARGUMENTS 🌸

  • test β€” the KUnit test context, no cap. that's the whole parameter list. hand her the test context and let her cook.

πŸ¦‹ SEE ALSO πŸ¦‹

okay so this is the part where I need you to stay with me, because there are a lot of siblings in this family and I'm listing every single one, fr fr. no skipping. 🫢

The kernel file this lives in is:

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

subconnector type besties

content type girlies

the colour depth adjusters (our main character's direct fam πŸ’–)

output colour space squad 🌈

colour depth conversion + from_info crew

to_connector_type besties

duplicate mode detectors πŸ”

encoder crtc masks (one thru six, plus the default, slay)

aspect ratio gang

crtc timing decisions

funcs / atomic / hdr

set_property girlies

get_property girlies

refresh + freesync video mode

cacp caps (there are… so many) 😭

panel type detectives πŸ•΅οΈ

update subconnector

fbc init

detect mst

find first crtc

fill_stream (a whole saga)

create stream

detect + dac load

register / unregister / destroy

atomic check

hdmi cec + edid mgmt

validate stream / to encoder / native mode

common modes + freesync modes

i2c

amd vsdb + displayid vrr

mode valid

s3 hdmi cec

create/validate stream + update after detect

update scaling (the final boss ✨)


ngl bestie, if you made it through that entire SEE ALSO list you deserve a little treat. πŸ“ like genuinely, that's 238 tests and you read all of them. main character energy, no cap.

and that's the whole page! πŸ’œ source/version is ./drivers/gpu/drm/amd/display/..., dated October 2026, and the page itself is dm_test_adj...nvalid_depth(9) β€” okay bye, go run your KUnit tests, ily 🫢✨

πŸ“¦ where this page comes from