diff options
author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2024-10-22 23:03:51 +0300 |
---|---|---|
committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2024-10-23 22:42:19 +0300 |
commit | 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 (patch) | |
tree | cce09b40e55f5ad391cd56ceeaac3bdfd46e9c7d /tools/perf/scripts/python/gecko.py | |
parent | cc4e6994d5a237ef38363e459ac83cf8ef7626ff (diff) | |
download | linux-9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0.tar.xz |
drm/xe/oa: Add syncs support to OA config ioctl
In addition to stream open, add xe_sync support to the OA config ioctl,
where it is even more useful. This allows e.g. Mesa to replay a workload
repeatedly on the GPU, each time with a different OA configuration, while
precisely controlling (at batch buffer granularity) the workload segment
for which a particular OA configuration is active, without introducing
stalls in the userspace pipeline.
v2: Emit OA config even when config id is same as previous, to ensure
consistent sync behavior (Jose)
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241022200352.1192560-7-ashutosh.dixit@intel.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions