diff options
author | Nicholas Kazlauskas <[email protected]> | 2019-01-28 09:00:52 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-01-28 11:45:24 -0500 |
commit | 4b5105036afbd21fb810d3f1528f9a26ef3eea7e (patch) | |
tree | a7496b7d0d4fb96fd50bb55818cf35bd30603910 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 8fde60b7f350045614aecbc433eda830b5413b6d (diff) |
drm/amd/display: Don't leak memory when updating streams
[Why]
The flip and full structures were allocated but never freed.
[How]
Free them at the end of the function. There's a small behavioral
change here with the function returning early if the allocation fails
but we wouldn't should be doing anything in that case anyway.
Fixes: c00e0cc0fdc0 ("drm/amd/display: Call into DC once per multiplane flip")
Fixes: ea39594e0855 ("drm/amd/display: Perform plane updates only when needed")
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Leo Li <[email protected]>
Tested-by: Michel Dänzer <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions