Skip to content

Drop dma-resv PREEMT_FENCE slot

Matthew Brost requested to merge (removed):drop_preempt_fence into xe

Continuation of @thomash work in the following MR: !261 (closed)

Collected some data point on the number of suspends (preempt fence triggers) on a TGL and running xe_exec_compute_mode.

cd /sys/kernel/debug/tracing/events/xe
for f in xe*; do echo 1 > $f/enable; done
for f in drm*; do echo 1 > $f/enable; done
cd -
xe_exec_compute_mode
cat /sys/kernel/debug/tracing/trace | grep opcode=3 | wc
  • Before this series: 19536
  • Before the last patch in the series: 62355
  • After this series: 20381 (1st run), 19079 (2nd run)

It appears @thomash solution is on par with the existing solution, IMO we merge this.

Edited by Matthew Brost

Merge request reports

Loading