dm_test_quer...aps_null_ctx(9)
π dm_test_query_brightness_caps_null_ctx(9) π
okay so bestie, welcome to the kernel API manual β this one lives in section 9 of the manual and it's a whole little KUnit test. pull up a chair π
πΈ NAME πΈ
dm_test_query_brightness_caps_null_ctx β literally just here to Test Query brightness caps null ctx. that's the vibe. that's the whole assignment. β¨
π¦ SYNOPSIS π¦
void dm_test_query_brightness_caps_null_ctx (struct kunit *test );
yes she returns void, yes she takes exactly one thing, no she is not going to elaborate π
π₯ ARGUMENTS π₯
testβ The KUnit test context. that's it, that's the whole parameter list, and honestly? iconic. one (1) argument. main character energy fr fr π
π SEE ALSO π
okay this is the part where the manpage just starts name-dropping the entire friend group, and we love that for her π«Ά
Kernel file β go look at the actual source, it's right here:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_services_test.c
and now the rest of the crew, in the exact order they showed up to the party π:
dm_test_get_elapse_time_zero_delta(9)dm_test_get_elapse_time_positive_delta(9)dm_test_get_elapse_time_large_delta(9)dm_test_get_elapse_time_wraparound(9)dm_test_perf_trace_timestamp_basic(9)dm_test_trace_smu_enter_null_ctx(9)dm_test_trace_smu_enter_with_params(9)dm_test_trace_smu_exit_success_null_ctx(9)dm_test_trace_smu_exit_failure_null_ctx(9)dm_test_trace_smu_exit_with_response(9)dm_test_query_brightness_caps_null_caps(9)dm_test_query_brightness_caps_null_driver_ctx(9)dm_test_query_brightness_caps_lcd2_null_ctx(9)dm_test_query_brightness_caps_lcd1_success(9)dm_test_query_brightness_caps_non_lcd1_uses_second_slot(9)
like, fifteen whole siblings. a whole family reunion in the SEE ALSO section. obsessed. π
ngl there aren't any OPTIONS or exit statuses or env vars on this one β it's a kernel test function, not a command, so there's nothing to --flag about. the more you know β¨
and that's the whole page bestie, no cap π this little test comes to you from ./drivers/gpu/drm/amd/display/... and is dated October 2026 β so yeah, she's from the future, slay β stay hydrated, run your tests, and remember: null ctx means null ctx π π
π¦ 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