Skip to content

venus: add VN_PERF options for performance tuning

Yiwei Zhang requested to merge zzyiwei/mesa:batch-cmd-size into main

1st commit refactors debug option to struct vn_env

2-4 commits add perf options:

5th commit refactors vn_cmd_submit

6th commit adds a separate VN_DRAW_CMD_BATCH_LIMIT option to venus cmd batch traffic tuning

  • e.g. adb shell setprop mesa.vn.draw.cmd.batch.limit 100

TEST:

  • no behavior change without enabling perf options
  • enable and test each perf option works as intended
Edited by Yiwei Zhang

Merge request reports