diff options
author | Christian König <christian.koenig@amd.com> | 2021-12-02 13:29:08 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-12-03 16:01:46 +0300 |
commit | e485382ea7eb4b81f4b59073cd831084820497de (patch) | |
tree | 296a70b7eeaaef49db2dc8211c8dcca9ada723f4 /scripts/gdb/linux/utils.py | |
parent | 679d94cd7d900871e5bc9cf780bd5b73af35ab42 (diff) | |
download | linux-e485382ea7eb4b81f4b59073cd831084820497de.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions