aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorNirmoy Das <nirmoy.das@intel.com>2024-08-26 18:20:35 +0200
committerNirmoy Das <nirmoy.das@intel.com>2024-08-30 11:38:53 +0200
commitc5f728de696caa35481fd84202dfbc9fecc18e0b (patch)
tree98c8a285eb109e9933cce583194b88a905349714 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parent2bd87f0fc24ae29ead9808d341497f465b339c0a (diff)
drm/xe: Fix memory leak on xe_alloc_pf_queue failure
Simplify memory unwinding on error also fixing current memory leak that can happen on error. v2: use devm_kcalloc(Matt A) Fixes: 3338e4f90c14 ("drm/xe: Use topology to determine page fault queue size") Cc: Matthew Auld <matthew.auld@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Stuart Summers <stuart.summers@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240826162035.20462-1-nirmoy.das@intel.com Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions