diff options
author | Kuogee Hsieh <quic_khsieh@quicinc.com> | 2023-05-25 10:40:52 -0700 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-06-04 05:10:11 +0300 |
commit | 108ff1417795eb991ce5c3af77c119e0841136f2 (patch) | |
tree | fbd80768c0299fb9673c7a4c959944add3829fbf /drivers/gpio/gpio-siox.c | |
parent | c20c44403e11d572c1adebf557c64017fd9868fd (diff) | |
download | linux-stable-108ff1417795eb991ce5c3af77c119e0841136f2.tar.gz linux-stable-108ff1417795eb991ce5c3af77c119e0841136f2.tar.bz2 linux-stable-108ff1417795eb991ce5c3af77c119e0841136f2.zip |
drm/msm/dpu: Guard PINGPONG DSC ops behind DPU_PINGPONG_DSC bit
DPU < 7.0.0 has DPU_PINGPONG_DSC feature bit set to indicate it requires
both dpu_hw_pp_setup_dsc() and dpu_hw_pp_dsc_{enable,disable}() to be
executed to complete DSC configuration if DSC hardware block is present.
Hence test DPU_PINGPONG_DSC feature bit and assign DSC related functions
to the ops of PINGPONG block accordingly if DPU_PINGPONG_DSC bit is set.
Changes in v6:
-- split patches, this patch has function handles DPU_PINGPONG_DSC bit
Changes in v9:
-- the original code of assigning dsc related functions to the ops of
pingpong block without testing the DPU_PINGPONG_DSC feature bit was
restored back due to rebase error which defeat the purpose of this
patch. Remove those error code.
Changes in v10:
-- change commit title
-- correct texts at changes in v9
Changes in v12:
-- fixed length too long at Changes in v9
Signed-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Patchwork: https://patchwork.freedesktop.org/patch/539504/
Link: https://lore.kernel.org/r/1685036458-22683-5-git-send-email-quic_khsieh@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-siox.c')
0 files changed, 0 insertions, 0 deletions