linux-stable/drivers/gpu/drm/ttm
xinhui pan 1bbcf69e42 drm/ttm: flush the fence on the bo after we individualize the reservation object
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>
2020-01-22 12:51:56 +01:00
..
Makefile drm/ttm, drm/vmwgfx: Use a configuration option for the TTM dma page pool 2019-11-14 08:41:23 +01:00
ttm_agp_backend.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_bo.c drm/ttm: flush the fence on the bo after we individualize the reservation object 2020-01-22 12:51:56 +01:00
ttm_bo_manager.c
ttm_bo_util.c drm/ttm: remove ttm_bo_wait_unreserved 2019-11-06 11:24:14 +01:00
ttm_bo_vm.c drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
ttm_execbuf_util.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_memory.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_module.c
ttm_page_alloc.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_page_alloc_dma.c drm/ttm, drm/vmwgfx: Use a configuration option for the TTM dma page pool 2019-11-14 08:41:23 +01:00
ttm_tt.c drm/ttm: ttm_tt_init_fields() can be static 2019-11-04 13:02:34 +01:00