diff options
author | Matthew Auld <matthew.auld@intel.com> | 2024-06-20 11:20:26 +0100 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2024-06-27 11:00:36 +0100 |
commit | ce6b63336f79ec5f3996de65f452330e395f99ae (patch) | |
tree | 29db996613e7eddf7352b0d00bce8592ee175cee /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 406d058dc323ae152d380ac90153eb56a75850c1 (diff) | |
download | linux-ce6b63336f79ec5f3996de65f452330e395f99ae.tar.gz linux-ce6b63336f79ec5f3996de65f452330e395f99ae.tar.bz2 linux-ce6b63336f79ec5f3996de65f452330e395f99ae.zip |
drm/xe: fix error handling in xe_migrate_update_pgtables
Don't call drm_suballoc_free with sa_bo pointing to PTR_ERR.
References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2120
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: <stable@vger.kernel.org> # v6.8+
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240620102025.127699-2-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions