dm_test_get_...sitive_delta(9)
π dm_test_get_elapse_time_positive_delta(9) β like, the whole scoop π
okay so bestie, welcome to the Kernel API Manual πΈ β yes, that's the manual name, and yes you're gonna read it, because this page is literally about one function and it's a whole vibe.
β¨ NAME β¨
dm_test_get_elapse_time_positive_delta β Test Get elapse time positive delta π
That's it. That's the function. It tests that getting the elapse time with a positive delta behaves, and honestly? slay. π«Ά
π¦ SYNOPSIS π¦
void dm_test_get_elapse_time_positive_delta (struct kunit *test );
no cap, that's the entire signature β a void return and exactly one argument. short and iconic. periodt. π
π ARGUMENTS π
testβ The KUnit test context π β this is the little test-world it lives in, the thing KUnit hands over so the test has somewhere to exist. give it a name and let it cook.
π₯ SEE ALSO π₯
okay so this is the part where we shout out the whole friend group, because this function does not run alone π
- Kernel file:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_services_test.cπ β that's where the source lives, go say hi. dm_test_get_elapse_time_zero_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_ctx(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, that's the entire group chat right there π§ and every single one of them is a (9) kernel-API page, iykyk.
ngl bestie, this is a test page β its whole job is checking that the elapse-time math plays nice when the delta is positive. the more you know π«
and that's the tea π β this gem comes from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 πΈ, filed under dm_test_get_...sitive_delta(9) because the title got a little truncated on the way out and honestly? relatable. π mwah, go write some tests β¨
π¦ 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