diff options
| author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2024-10-22 13:03:51 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 18:25:31 +0100 |
| commit | f0ab9cd205d852a9024b73c71c8d8b217a04e8f0 (patch) | |
| tree | b69cc5542f77b365503435cfd57270b772f83b51 /scripts/objdiff | |
| parent | fa41f3cd4eeb908f6cfeb0b92ac35f978d4e01e7 (diff) | |
| download | linux-f0ab9cd205d852a9024b73c71c8d8b217a04e8f0.tar.gz linux-f0ab9cd205d852a9024b73c71c8d8b217a04e8f0.tar.bz2 linux-f0ab9cd205d852a9024b73c71c8d8b217a04e8f0.zip | |
drm/xe/oa: Add syncs support to OA config ioctl
[ Upstream commit 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 ]
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
Stable-dep-of: 5bd566703e16 ("drm/xe/oa: Allow oa_exponent value of 0")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
