dm_test_reg...vice_success(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so welcome to the dm_test_reg...vice_success(9) page from the Kernel API Manual, bestie. The main-character function here is:

dm_test_register_backlight_device_success β€” Test native backlight registration.

✨ SYNOPSIS ✨

The signature is iconic and literally this:

void dm_test_register_backlight_device_success (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” The KUnit test context. That's the whole argument list, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

So the vibe check here is: a native backlight device must be registered with the calculated properties, and its initial readback must retain the initial brightness. That's the requirement β€” the device has to come through with the calculated properties, and that first readback needs to keep the initial brightness. Slay.

🌸 SEE ALSO 🌸

  • Kernel file: ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c

The rest of the test-suite friend group, all holding hands in this exact order:


Signing off from the dm_test_reg...vice_success(9) page with source/version ./drivers/gpu/drm/amd/display/... and date October 2026 β€” mwah, bestie! πŸ’…πŸ’–

πŸ“¦ where this page comes from