Skip to content
Snippets Groups Projects
Select Git revision
  • rkvdec-iommu-reset
  • mtk-vcodec-manual-request-completion-testing
  • rk3588-hdr
  • mtk-vcodec-manual-request
  • mediatek-10bit-formats
  • nicolas/fix-eos-on-empty-capture-queue
  • mt8195-10bit-2
  • wave5-fail-in-10-bit
  • wave5-minor-cleanup
  • jacinto
  • jacinto-wave5-11-plus-nas-changes
  • vp8-enc-rc1
  • tritium-hevc2
  • rk3399-interlaced-v4
  • rk3399-interlaced-v3
  • rk3399-interlaced-v2
  • rk3399-interlaced
  • rk3399-libreelec
  • rk3399-interlaced-wip
  • vp9-uapi-upstream
  • v1p-20210224
21 results

linux

Nicolas Dufresne's avatar
Nicolas Dufresne authored
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 an empty domain, detaching
it and re-attaching the device allocated domain.

Suggested-by: default avatarDetlev Casanova <detlev.casanova@collabora.com>
Signed-of-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
352ee610
History
Name Last commit Last update