linux/drivers/gpu/drm/panfrost
Denis Efremov 114427b892 drm/panfrost: Use kvfree() to free bo->sgts
Use kvfree() to free bo->sgts, because the memory is allocated with
kvmalloc_array() in panfrost_mmu_map_fault_addr().

Fixes: 187d292920 ("drm/panfrost: Add support for GPU heap allocations")
Cc: stable@vger.kernel.org
Signed-off-by: Denis Efremov <efremov@linux.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200608151728.234026-1-efremov@linux.com
2020-06-19 11:00:02 +01:00
..
Kconfig
Makefile
panfrost_devfreq.c drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
panfrost_devfreq.h drm/panfrost: Simplify devfreq utilisation tracking 2019-10-29 13:01:51 -05:00
panfrost_device.c drm/panfrost: Reduce the amount of logs on deferred probe 2020-06-18 09:59:25 +01:00
panfrost_device.h drm/panfrost: Add support for multiple power domains 2020-02-25 14:35:35 -06:00
panfrost_drv.c drm/panfrost: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
panfrost_features.h
panfrost_gem_shrinker.c drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-03 11:23:21 +00:00
panfrost_gem.c drm/panfrost: Use kvfree() to free bo->sgts 2020-06-19 11:00:02 +01:00
panfrost_gem.h drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-03 11:23:21 +00:00
panfrost_gpu.c drm/panfrost: Improve error reporting in panfrost_gpu_power_on 2020-02-25 14:35:29 -06:00
panfrost_gpu.h
panfrost_issues.h
panfrost_job.c drm/panfrost: Fix runtime PM imbalance on error 2020-06-19 11:00:02 +01:00
panfrost_job.h drm/panfrost: Add the panfrost_gem_mapping concept 2020-01-21 10:32:55 -06:00
panfrost_mmu.c drm/panfrost: Use kvfree() to free bo->sgts 2020-06-19 11:00:02 +01:00
panfrost_mmu.h drm/panfrost: Add the panfrost_gem_mapping concept 2020-01-21 10:32:55 -06:00
panfrost_perfcnt.c drm/panfrost: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
panfrost_perfcnt.h drm/panfrost: Open/close the perfcnt BO 2019-12-06 11:06:20 -06:00
panfrost_regs.h
TODO drm/panfrost: Remove commented out call to panfrost_core_dump 2019-10-09 13:36:56 -05:00