diff options
| author | Maíra Canal <[email protected]> | 2023-11-30 13:40:31 -0300 |
|---|---|---|
| committer | Maíra Canal <[email protected]> | 2023-12-01 09:34:25 -0300 |
| commit | c5195d001f4c122032a9ce90c6b88d772673fa35 (patch) | |
| tree | 8725b3554383a4a28d7017cdd76f772c82778f0b /tools/perf/scripts/python/stackcollapse.py | |
| parent | aafc1a2bea67460c41a289e8bb1e4dc6d016fe11 (diff) | |
drm/v3d: Use v3d_get_extensions() to parse CPU job data
Currently, v3d_get_extensions() only parses multisync data and assigns
it to the `struct v3d_submit_ext`. But, to implement the CPU job with
user extensions, we want v3d_get_extensions() to be able to parse CPU
job data and assign it to the `struct v3d_cpu_job`.
Therefore, allow the function v3d_get_extensions() to use `struct v3d_cpu_job *`
as a parameter. If the `struct v3d_cpu_job *` is assigned to NULL, it means
that the job is a GPU job and CPU job extensions should be rejected.
Signed-off-by: Maíra Canal <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions