diff options
| author | Gurchetan Singh <[email protected]> | 2021-09-21 16:20:18 -0700 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2021-09-29 09:22:30 +0200 |
| commit | 7547675b84bf452542463db29adb113cadb7dd6d (patch) | |
| tree | 8392c8e8880f144523cc175f86561168650311e9 /tools/perf/scripts/python | |
| parent | 4fb530e5caf7cb666948db65f245b350ce520436 (diff) | |
drm/virtio: implement context init: track {ring_idx, emit_fence_info} in virtio_gpu_fence
Each fence should be associated with a [fence ID, fence_context,
seqno]. The seqno number is just the fence id.
To get the fence context, we add the ring_idx to the 3D context's
base_fence_ctx. The ring_idx is between 0 and 31, inclusive.
Each 3D context will have it's own base_fence_ctx. The ring_idx will
be emitted to host userspace, when emit_fence_info is true.
Signed-off-by: Gurchetan Singh <[email protected]>
Acked-by: Lingfeng Yang <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions