diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-06-29 18:37:52 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-15 09:15:39 -0400 |
| commit | ee486cb800915b2fc7ecfd108982198045860060 (patch) | |
| tree | 7d5bd371d7bc324e0041889b18b9e88ee6b55d1a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9a77c86ec8f5e3186b77437958d918698f1d53dd (diff) | |
drm/amd/display: Test backlight level programming path
[WHAT]
Add KUnit coverage for the backlight level write path in
amdgpu_dm_backlight.c.
Tests cover stream lookup hit/miss, the connector-off and no-stream early
returns, and the AUX/PWM/idle-reallow programming branches. The DC
programming calls stay safe by injecting a NULL power module and keeping
idle optimizations a no-op via disable_idle_power_optimizations.
Assisted-by: Copilot:Claude-Opus-4.8
Reviewed-by: Bhawanpreet Lakha <bhawanpreet.lakha@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Zhang <george.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
