diff options
author | Christian König <christian.koenig@amd.com> | 2021-12-02 11:29:08 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-12-03 14:01:46 +0100 |
commit | e485382ea7eb4b81f4b59073cd831084820497de (patch) | |
tree | 296a70b7eeaaef49db2dc8211c8dcca9ada723f4 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 679d94cd7d900871e5bc9cf780bd5b73af35ab42 (diff) |
drm/ttm: fix ttm_bo_swapout
Commit 7120a447c7fe ("drm/ttm: Double check mem_type of BO while eviction")
made ttm_bo_evict_swapout_allowable() function actually check the
placement, but we always used a dummy placement in ttm_bo_swapout.
Fix this by using the real placement instead.
Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: 7120a447c7fe ("drm/ttm: Double check mem_type of BO while eviction")
Reviewed-by: Pan, Xinhui <Xinhui.Pan@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211202103828.44573-1-christian.koenig@amd.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions