mirror_ubuntu-kernels/drivers/gpu/drm/amd
Nicholas Kazlauskas 0e3a7c2ec9 drm/amd/display: Free gamma after calculating legacy transfer function
[Why]
We're leaking memory by not freeing the gamma used to calculate the
transfer function for legacy gamma.

[How]
Release the gamma after we're done with it.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-25 16:50:07 -04:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu/psp11: fix typo in comment 2019-10-25 16:50:07 -04:00
amdkfd drm/amdkfd: update for drmP.h removal 2019-10-09 12:04:48 -05:00
display drm/amd/display: Free gamma after calculating legacy transfer function 2019-10-25 16:50:07 -04:00
include drm/amdgpu: update atomfirmware header with memory training related members(v3) 2019-10-17 16:31:25 -04:00
powerplay drm/amdgpu/powerplay: use local renoir array sizes for clock fetching 2019-10-25 16:48:14 -04:00