diff options
author | Denis Efremov <efremov@linux.com> | 2020-06-05 20:37:43 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-06-10 18:00:24 -0400 |
commit | 81921a828b94ce2816932c19a5ec74d302972833 (patch) | |
tree | 4ed5cb48ccc9381b310f937485c8a5a913029269 /drivers/gpu/drm/amd/powerplay | |
parent | 8d286e2ff4400d313955b4203fc640ca6fd9228b (diff) |
drm/amd/display: Use kvfree() to free coeff in build_regamma()
Use kvfree() instead of kfree() to free coeff in build_regamma()
because the memory is allocated with kvzalloc().
Fixes: e752058b8671 ("drm/amd/display: Optimize gamma calculations")
Cc: stable@vger.kernel.org
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay')
0 files changed, 0 insertions, 0 deletions