diff options
author | Christian König <christian.koenig@amd.com> | 2021-09-07 09:37:52 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-14 16:17:39 -0400 |
commit | c92db8d64f9e0313e7ecdc9500db93a5040c9370 (patch) | |
tree | 250689ad5c17c6600c9def8a0afaf87132348db7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5598d7c21a0bcab900f281dca4efbb1f80add0fe (diff) |
drm/amdgpu: fix use after free during BO move
The memory backing old_mem is already freed at that point, move the
check a bit more up.
Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: bfa3357ef9ab ("drm/ttm: allocate resource object instead of embedding it v2")
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1699
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions