Ding Wei 6849c1e28b video: rockchip: mpp: px30: fix issue combo_init when device probe
In px30, rkvdec and vdpu&vepu need set grf and ensure working
in current hardware mode before running. this issue may accur
when get iommu dte_addr, thus add set_grf before, then ensure
the hardware working mode.

refer log when probe:
[    3.040107][   T53] mpp_rkvdec ff440000.hevc: Adding to iommu group 1
[    3.040455][   T53] mpp_rkvdec ff440000.hevc: probing start
[    3.040939][   T53] rkvdec_init:1139: failed on clk_get clk_cabac
[    3.040991][   T53] rkvdec_init:1142: failed on clk_get
clk_hevc_cabac
[    3.041031][   T53] mpp_rkvdec ff440000.hevc:
reset_group->rw_sem_on=0
[    3.041057][   T53] mpp_rkvdec ff440000.hevc:
reset_group->rw_sem_on=0
[    3.041107][   T53] mpp_rkvdec ff440000.hevc: shared_video_cabac is
not found!
[    3.041123][   T53] rkvdec_init:1170: No cabac reset resource define
[    3.041141][   T53] mpp_rkvdec ff440000.hevc: shared_video_hevc_cabac
is not found!
[    3.041156][   T53] rkvdec_init:1173: No hevc cabac reset resource
define
[    3.042264][   T53] rk_iommu ff440440.iommu: Error during raw reset.
MMU_DTE_ADDR is not functioning
[    3.042303][   T53] mpp_rkvdec ff440000.hevc:
px30_workaround_combo_init dte_addr 00000000
[    3.043372][   T53] rk_iommu ff440440.iommu: Error during raw reset.
MMU_DTE_ADDR is not functioning
[    3.044133][   T53] mpp_rkvdec ff440000.hevc: probing finish

Change-Id: I09a700e946871ef9822d44a868ff82ce085ed514
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2023-12-28 09:54:10 +08:00
2023-12-01 19:31:39 +08:00
2023-12-01 19:31:39 +08:00
2023-12-01 19:31:39 +08:00
2023-12-01 19:31:39 +08:00
2023-12-01 19:31:39 +08:00
2023-12-01 19:31:39 +08:00
2023-12-01 19:31:39 +08:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%