diff options
| author | NĂcolas F. R. A. Prado <[email protected]> | 2023-06-30 11:14:11 -0400 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-07-25 09:44:26 +0200 |
| commit | fe8a33978383d8c61157523ba1bb04900a32ba1d (patch) | |
| tree | c00d74a930d37f23b47c85ed26d2b47bd275f635 /tools/perf/scripts/python/task-analyzer.py | |
| parent | c33262171252d355f9c962d603425d445a24ac4c (diff) | |
media: mediatek: vcodec: Read HW active status from syscon
Remove the requirement of a VDEC_SYS reg iospace for both MT8173 and
MT8183. To achieve that, rely on a vdecsys syscon to be passed through
the DT, and use it to directly read the VDEC_HW_ACTIVE bit during IRQ
handling to check whether the HW is active. Also update the VP8 stateful
decoder to use the syscon, if present, for writes to VDEC_SYS.
The old behavior is still present when reg-names aren't supplied, as
to keep backward compatibility.
Signed-off-by: NĂcolas F. R. A. Prado <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
[hverkuil: added vdecsys_regmap kerneldoc line provided by Nicolas]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions