diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-05-15 16:09:48 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-06-03 13:41:56 -0400 |
| commit | 34f281489976fb20fe8be12f084055b5560a3190 (patch) | |
| tree | 6411600938c8a66d355b1c609536fb20e0a39450 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 64aa07084a0d44541d022ac1dd2d8c03ba5b222c (diff) | |
drm/amd/display: Add KUnit tests for amdgpu_dm_psr_set_event
[Why & How]
Add three KUnit tests covering the early-exit validation guard in
amdgpu_dm_psr_set_event():
- NULL stream argument returns false immediately
- Valid stream with NULL link returns false
- Valid stream/link with psr_feature_enabled == false returns false
Assisted-by: Copilot:Claude-Sonnet-4.6
Reviewed-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
