summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorHarish Chegondi <harish.chegondi@intel.com>2025-03-12 10:31:20 -0700
committerAshutosh Dixit <ashutosh.dixit@intel.com>2025-03-13 09:36:58 -0700
commit278469ff569e1082d56b4a7af26fbaecef9fbf3b (patch)
tree72a019e933132bb2018c7c344c7c85adc261ce86 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parent80bcbdfc8cf51b41fde0a2466a83e057c5a1bf3a (diff)
drm/xe/eustall: Fix a possible pointer dereference after free
If devm_add_action_or_reset() isn't successful, xe_eu_stall_fini() is invoked. So, unsuccessful return from devm_add_action_or_reset() shouldn't dereference gt->eu_stall as xe_eu_stall_fini() already frees it. Fix this issue. Fixes: 9a0b11d4cf3b ("drm/xe/eustall: Add support to init, enable and disable EU stall sampling") Signed-off-by: Harish Chegondi <harish.chegondi@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/eae49a414a7314921108e0388810aaee6261ad92.1741800396.git.harish.chegondi@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions