diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-07-13 17:09:17 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-28 19:17:30 -0400 |
| commit | 36e7f55ec8a9c3b10fd5d19f9dac1f33dc864d61 (patch) | |
| tree | 9bf1675c90f4a1621501429c919da3186cc62b56 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b208e33f6017b5362f7c8192a7e08a8e5c901828 (diff) | |
drm/amd/display: Add KUnit test for native backlight registration
[WHAT]
Add a KUnit case covering the successful path of
amdgpu_dm_register_backlight_device(). The test uses the standard DRM
KUnit device helpers to register a native backlight device, verifies the
calculated backlight properties and cached brightness, and unregisters
the device through KUnit cleanup to avoid leaking a class device across
cases.
Assisted-by: Copilot:GPT-5.6-Terra
Reviewed-by: Bhawanpreet Lakha <bhawanpreet.lakha@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@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
