summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChris Park <chris.park@amd.com>2024-06-28 22:09:06 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 00:07:11 +0300
commit892abca6877a96c9123bb1c010cafccdf8ca1b75 (patch)
treea5d63ac0fc7a1a77a2549a5eb43c55bf42417c84 /scripts
parent35ff747c86767937ee1e0ca987545b7eed7a0810 (diff)
downloadlinux-892abca6877a96c9123bb1c010cafccdf8ca1b75.tar.xz
drm/amd/display: Deallocate DML memory if allocation fails
[Why] When DC state create DML memory allocation fails, memory is not deallocated subsequently, resulting in uninitialized structure that is not NULL. [How] Deallocate memory if DML memory allocation fails. Reviewed-by: Joshua Aberback <joshua.aberback@amd.com> Signed-off-by: Jerry Zuo <jerry.zuo@amd.com> Signed-off-by: Chris Park <chris.park@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions