Skip to content

media: rockchip: isp: fix v3x lsc tasklet disable imbalanceRemove tasklet_disable call in rkisp_init_params_vdev - #389

Open
Mv-mua wants to merge 1 commit into
rockchip-linux:develop-6.1from
Mv-mua:fix/rkisp-lsc-tasklet-balance
Open

media: rockchip: isp: fix v3x lsc tasklet disable imbalanceRemove tasklet_disable call in rkisp_init_params_vdev#389
Mv-mua wants to merge 1 commit into
rockchip-linux:develop-6.1from
Mv-mua:fix/rkisp-lsc-tasklet-balance

Conversation

@Mv-mua

@Mv-mua Mv-mua commented Aug 28, 2026

Copy link
Copy Markdown

The v3x LSC tasklet is disabled at probe and never re-enabled
afterwards. Whenever LSC is configured on a single ISP while LSC
is enabled, isp_lsc_config()/isp_lsc_enable() schedule this still
disabled tasklet, and tasklet_action_common() finds count != 0, so
it re-queues the tasklet and re-raises TASKLET_SOFTIRQ forever,
spinning the CPU in ksoftirqd (~6.5M TASKLET/s observed on RK3588).

Remove the unbalanced tasklet_disable() so the tasklet is always
runnable when scheduled, matching the isp_params_v32.c implementation
which never disables its lsc_tasklet.

Signed-off-by: Mv-mua 2658233603@qq.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant