commit | 81921a828b94ce2816932c19a5ec74d302972833 | [log] [tgz] |
---|---|---|
author | Denis Efremov <efremov@linux.com> | Fri Jun 05 20:37:43 2020 +0300 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Jun 10 18:00:24 2020 -0400 |
tree | 4ed5cb48ccc9381b310f937485c8a5a913029269 | |
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>