diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-07-15 22:41:46 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-07-28 23:28:34 +0300 |
commit | b174084b3fe15ad1acc69530e673c1535d2e4f85 (patch) | |
tree | 58d5d890277bb133b228cb565ce43a5d4db3b752 /scripts/lib/kdoc/kdoc_files.py | |
parent | a5ce8695d6d1b40d6960d2d298b579042c158f25 (diff) | |
download | linux-b174084b3fe15ad1acc69530e673c1535d2e4f85.tar.xz |
drm/amd/display: Only finalize atomic_obj if it was initialized
[Why]
If amdgpu_dm failed to initalize before amdgpu_dm_initialize_drm_device()
completed then freeing atomic_obj will lead to list corruption.
[How]
Check if atomic_obj state is initialized before trying to free.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions