diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-06-16 09:47:28 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-01 11:31:43 -0400 |
| commit | dcce6246e6c63762d8d0f892f6626d30583b27e9 (patch) | |
| tree | d40264ffe21baafd2a56b59f9a8613cf7c7224be /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 829769f1cfe88f35125e0fd1186fce5c2aa19a3d (diff) | |
drm/amd/display: Fix KUnit test crash after global alpha change
[WHY]
amdgpu_dm_plane_fill_blending_from_plane_state added drm_to_adev() but
dm_test_fill_blending_global_alpha did not initialize
plane_state->plane, causing a NULL pointer dereference.
[HOW]
Add an amdgpu_device and drm_plane so the plane->dev
dereference is valid in the test.
Fixes: 829769f1cfe8 ("drm/amd/display: scale plane global alpha to 12 bits on DCN 4.2")
Cc: PingLei.Lin@amd.com
Assisted-by: Copilot:Claude-Opus-4.6
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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
