Re: [PATCH 1/2] drm/amd/display: Use kvfree() to free coeff in build_regamma()

2020-06-08 Thread Alex Deucher
On Fri, Jun 5, 2020 at 1:38 PM Denis Efremov wrote: > > 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: sta...@vger.kernel.org > Signed-off-by: Denis

[PATCH 1/2] drm/amd/display: Use kvfree() to free coeff in build_regamma()

2020-06-05 Thread Denis Efremov
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: sta...@vger.kernel.org Signed-off-by: Denis Efremov ---