diff options
author | 2016-01-27 11:04:19 -0500 | |
---|---|---|
committer | 2016-01-28 11:46:45 -0500 | |
commit | 28b8d66e0c1cc6c02b8159ae44aec359e12feefa (patch) | |
tree | e7810bfce856908ee788d2f9678e3923231e7a40 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/radeon: fix DP audio support for APU with DCE4.1 display engine (diff) | |
download | linux-dev-28b8d66e0c1cc6c02b8159ae44aec359e12feefa.tar.xz linux-dev-28b8d66e0c1cc6c02b8159ae44aec359e12feefa.zip |
drm/amdgpu: only move pt bos in LRU list on success
This fixes a race condition in the error case: since the pt bos have not
necessarily been reserved in case of an error, we could move a pt bo that
is currently in the middle of being evicted/moved by another process,
which then resulted in a BUG_ON in ttm_bo_add_to_lru.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions