aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDenis Efremov <[email protected]>2020-06-05 20:37:43 +0300
committerAlex Deucher <[email protected]>2020-07-01 01:59:17 -0400
commit8425400759749e23aaa831f2482b96211201af33 (patch)
tree025e9d70635811557c10c6ac143260b4881a465c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentb7221f2b4655bb9a95ed6f86658713c8dd543d41 (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: [email protected] Signed-off-by: Denis Efremov <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions