diff options
author | Tomi Valkeinen <[email protected]> | 2022-04-26 09:02:40 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-05-17 09:11:57 +0200 |
commit | 7a12903182c8c0e3ba61eb9c5bdf160f337686c5 (patch) | |
tree | 709ebb1ee6b8f347b7bb25b601acec33aab45d6e /tools/perf/scripts/python/intel-pt-events.py | |
parent | 897c45df291ff063d6a0acb20b3a0c276c6adf6a (diff) |
media: ti: cal: use frame desc to get vc and dt
Use get_frame_desc() to get the frame desc from the connected source,
and use the provided virtual channel and datatype instead of hardcoded
ones.
get_frame_desc() can contain multiple streams, but as we don't support
multiple streams yet, we will just always use the first stream.
If the source doesn't support get_frame_desc(), fall back to the
previous method of always capturing virtual channel 0 and any datatype.
Signed-off-by: Tomi Valkeinen <[email protected]>
Reviewed-by: Jacopo Mondi <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions