alistair23-linux/drivers/gpu/drm/panfrost
Navid Emamdoost 9df0e0c188 drm/panfrost: perfcnt: fix ref count leak in panfrost_perfcnt_enable_locked
in panfrost_perfcnt_enable_locked, pm_runtime_get_sync is called which
increments the counter even in case of failure, leading to incorrect
ref count. In case of failure, decrement the ref count before returning.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200614063619.44944-1-navid.emamdoost@gmail.com
2020-08-07 10:45:07 -06:00
..
Kconfig drm/panfrost: Require the simple_ondemand governor 2019-06-10 09:30:34 -06:00
Makefile drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00
panfrost_devfreq.c drm/panfrost: add regulators to devfreq 2020-08-07 10:11:26 -06:00
panfrost_devfreq.h drm/panfrost: add regulators to devfreq 2020-08-07 10:11:26 -06:00
panfrost_device.c drm/panfrost: add regulators to devfreq 2020-08-07 10:11:26 -06:00
panfrost_device.h drm/panfrost: dynamically alloc regulators 2020-08-07 10:11:26 -06:00
panfrost_drv.c drm/panfrost: move devfreq_init()/fini() in device 2020-08-07 10:11:26 -06:00
panfrost_features.h
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_gem_shrinker.c drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-03 11:23:21 +00:00
panfrost_gpu.c drm/panfrost: Make sure GPU is powered on when reading GPU_LATEST_FLUSH_ID 2020-08-07 10:11:11 -06:00
panfrost_gpu.h
panfrost_issues.h drm/panfrost: Add errata descriptions from kbase 2019-08-23 12:16:27 -05:00
panfrost_job.c drm/panfrost: introduce panfrost_devfreq struct 2020-08-07 10:11:26 -06: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: perfcnt: fix ref count leak in panfrost_perfcnt_enable_locked 2020-08-07 10:45:07 -06:00
panfrost_perfcnt.h drm/panfrost: Open/close the perfcnt BO 2019-12-06 11:06:20 -06:00
panfrost_regs.h drm/panfrost: Expose performance counters through unstable ioctls 2019-06-18 09:23:48 -06:00
TODO drm/panfrost: Remove commented out call to panfrost_core_dump 2019-10-09 13:36:56 -05:00