]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: populate wb or intf before reset_intf_cfg
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Fri, 15 Jul 2022 19:14:28 +0000 (12:14 -0700)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Thu, 21 Jul 2022 00:39:57 +0000 (17:39 -0700)
commit1a2d48b2edd57a7432292425022325419fa200ee
tree474bbf245f9930f990e85f3c2261ae4c137db425
parentc2d4f305da9828a521b1e016e490482d0b6dcfb8
drm/msm/dpu: populate wb or intf before reset_intf_cfg

dpu_encoder_helper_phys_cleanup() was not populating neither
wb or intf to the intf_cfg before calling the reset_intf_cfg().

This causes the reset of the active bits of wb/intf to be
skipped which is incorrect.

Fix this by populating the relevant wb or intf indices correctly.

Fixes: 767ab2af5085 ("drm/msm/dpu: add an API to reset the encoder related hw blocks")
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Tested-by: Jessica Zhang <quic_jesszhan@quicinc.com> # Trogdor (SC8170)
Patchwork: https://patchwork.freedesktop.org/patch/494298/
Link: https://lore.kernel.org/r/1657912468-17254-1-git-send-email-quic_abhinavk@quicinc.com
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c