Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video: rockchip: mpp: rkvdec: suppress cru reset logs #296

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
video: rockchip: mpp: rkvdec: suppress cru reset logs
[  287.968928] rkvdec2_reset:1390: cru reset
[  287.969095] rkvdec2_reset:1390: cru reset
[  307.341233] rkvdec2_reset:1390: cru reset
[  307.341284] rkvdec2_reset:1390: cru reset
[  409.407484] rkvdec2_reset:1390: cru reset
[  409.407659] rkvdec2_reset:1390: cru reset
[  807.117098] rkvdec2_reset:1390: cru reset
[  807.117194] rkvdec2_reset:1390: cru reset
[  936.456230] rkvdec2_reset:1390: cru reset
[  936.456401] rkvdec2_reset:1390: cru reset
...

After ba6b241, the cru reset always occurs at the end of
each decoding process. Use mpp_debug instead to log it.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
  • Loading branch information
nyanmisaka authored Nov 24, 2024
commit db09532eb1785f0fdf84979cdc354204238e6aaf
2 changes: 1 addition & 1 deletion drivers/video/rockchip/mpp/mpp_rkvdec2.c
Original file line number Diff line number Diff line change
@@ -1387,7 +1387,7 @@ int rkvdec2_reset(struct mpp_dev *mpp)

/* cru reset */
if (dec->rst_a && dec->rst_h) {
mpp_err("cru reset\n");
mpp_debug(DEBUG_RESET, "cru reset\n");
mpp_pmu_idle_request(mpp, true);
mpp_safe_reset(dec->rst_niu_a);
mpp_safe_reset(dec->rst_niu_h);
Loading