summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2023-11-30 13:40:31 -0300
committerMaíra Canal <mcanal@igalia.com>2023-12-01 09:34:25 -0300
commitc5195d001f4c122032a9ce90c6b88d772673fa35 (patch)
tree8725b3554383a4a28d7017cdd76f772c82778f0b /tools/perf/scripts/python/flamegraph.py
parentaafc1a2bea67460c41a289e8bb1e4dc6d016fe11 (diff)
downloadlinux-c5195d001f4c122032a9ce90c6b88d772673fa35.tar.gz
linux-c5195d001f4c122032a9ce90c6b88d772673fa35.zip
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 <mcanal@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231130164420.932823-10-mcanal@igalia.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions