diff options
author | xinhui pan <xinhui.pan@amd.com> | 2020-01-15 09:07:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-23 11:37:58 +0300 |
commit | 057843ef0833fa33846e57902ff11832b5b0ed2b (patch) | |
tree | cebd92717ad6c5c1b6b3dade2c9216e37289bac7 /security/yama | |
parent | 4c1bf587687a0ad2ada910e7817394cb80520560 (diff) | |
download | linux-057843ef0833fa33846e57902ff11832b5b0ed2b.tar.xz |
drm/ttm: flush the fence on the bo after we individualize the reservation object
[ Upstream commit 1bbcf69e42fe7fd49b6f4339c970729d0e343753 ]
As we move the ttm_bo_individualize_resv() upwards, we need flush the
copied fence too. Otherwise the driver keeps waiting for fence.
run&Kill kfdtest, then perf top.
25.53% [ttm] [k] ttm_bo_delayed_delete
24.29% [kernel] [k] dma_resv_test_signaled_rcu
19.72% [kernel] [k] ww_mutex_lock
Fix: 378e2d5b("drm/ttm: fix ttm_bo_cleanup_refs_or_queue once more")
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/series/72339/
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions