summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-07-15 22:41:46 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-07-28 23:28:34 +0300
commitb174084b3fe15ad1acc69530e673c1535d2e4f85 (patch)
tree58d5d890277bb133b228cb565ce43a5d4db3b752 /scripts/lib/kdoc/kdoc_files.py
parenta5ce8695d6d1b40d6960d2d298b579042c158f25 (diff)
downloadlinux-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