summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2025-05-08 17:00:15 -0400
committerHans Verkuil <hverkuil@xs4all.nl>2025-06-20 13:20:17 +0200
commitff8c5622f9f7c644e995d013af320b59e4d61b93 (patch)
tree537f0e8744b214eb6f45aa88944c29943980b1eb /tools/perf/scripts/python/parallel-perf.py
parent01350185fe02ae3ea2c12d578e06af0d5186f33e (diff)
downloadlinux-ff8c5622f9f7c644e995d013af320b59e4d61b93.tar.gz
linux-ff8c5622f9f7c644e995d013af320b59e4d61b93.zip
media: rkvdec: Restore iommu addresses on errors
On errors, the rkvdec chip self resets. This can clear the addresses programmed in the iommu. This case is signaled by the RKVDEC_SOFTRESET_RDY status bit. Since the iommu framework does not have a restore functionality, and as recommended by the iommu subsystem maintainers, this patch restores the iommu programming by attaching and detaching an empty domain, which will clear and restore the default domain. Suggested-by: Detlev Casanova <detlev.casanova@collabora.com> Tested-by: Detlev Casanova <detlev.casanova@collabora.com> Reviewed-by: Detlev Casanova <detlev.casanova@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions