kernel_samsung_a53x/drivers/gpu/drm/i915
Jiasheng Jiang ae8f9dd960 drm/i915: Fix memory leak by correcting cache object name in error handler
commit 2828e5808bcd5aae7fdcd169cac1efa2701fa2dd upstream.

Replace "slab_priorities" with "slab_dependencies" in the error handler
to avoid memory leak.

Fixes: 32eb6bcfdda9 ("drm/i915: Make request allocation caches global")
Cc: <stable@vger.kernel.org> # v5.2+
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@outlook.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241127201042.29620-1-jiashengjiangcool@gmail.com
(cherry picked from commit 9bc5e7dc694d3112bbf0fa4c46ef0fa0f114937a)
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-02 17:01:18 +01:00
..
display drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern 2024-11-18 12:12:06 +01:00
gem drm/i915/gem: Fix Virtual Memory mapping boundaries calculation 2024-11-23 23:20:31 +01:00
gt drm/i915/gt: Fix potential UAF by revoke of fence registers 2024-11-19 14:19:34 +01:00
gvt Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selftests Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_active.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_active.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_active_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_buddy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_buddy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_cmd_parser.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_config.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_debugfs_params.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_debugfs_params.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_fixed.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_gem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_gem_evict.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_gem_gtt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_gem_gtt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_getparam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_globals.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_globals.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_gpu_error.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_gpu_error.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_ioc32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_ioc32.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_irq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_irq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_memcpy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_memcpy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_mitigations.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_mitigations.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_mm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_params.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_params.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_perf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_perf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_perf_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_pmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_priolist_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_pvinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_query.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_query.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_request.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_request.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_scatterlist.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_scatterlist.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_scheduler.c drm/i915: Fix memory leak by correcting cache object name in error handler 2025-01-02 17:01:18 +01:00
i915_scheduler.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_scheduler_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_selftest.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_suspend.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_suspend.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_sw_fence.c Revert "drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused" 2024-11-24 00:23:36 +01:00
i915_sw_fence.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_sw_fence_work.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_sw_fence_work.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_switcheroo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_switcheroo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_syncmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_syncmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_sysfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_trace_points.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_user_extensions.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_user_extensions.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_utils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_utils.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_vgpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_vgpu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_vma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_vma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_vma_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_device_info.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_device_info.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_dram.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_dram.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_gvt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_gvt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_memory_region.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_memory_region.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_pch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_pch.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_pm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_pm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_region_lmem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_region_lmem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_runtime_pm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_runtime_pm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_sideband.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_sideband.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_uncore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_uncore.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_wakeref.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_wakeref.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_wopcm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_wopcm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.debug Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.profile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.unstable Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vlv_suspend.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vlv_suspend.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00