OSDN Git Service

drm/msm/dpu: disable DSC blocks for SM8350
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 9 Jan 2023 21:43:09 +0000 (23:43 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 12 Jan 2023 19:45:16 +0000 (21:45 +0200)
SM8350 has newer version of DSC blocks, which are not supported by the
driver yet. Remove them for now until these blocks are supported by the
driver.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/517629/
Link: https://lore.kernel.org/r/20230109214309.586130-1-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

index 4ac22ac..b534c60 100644 (file)
@@ -1525,11 +1525,6 @@ static struct dpu_dsc_cfg sdm845_dsc[] = {
        DSC_BLK("dsc_3", DSC_3, 0x80c00),
 };
 
-static struct dpu_dsc_cfg sm8350_dsc[] = {
-       DSC_BLK("dsc_0", DSC_0, 0x80000),
-       DSC_BLK("dsc_1", DSC_1, 0x81000),
-};
-
 /*************************************************************
  * INTF sub blocks config
  *************************************************************/
@@ -2339,8 +2334,6 @@ static const struct dpu_mdss_cfg sm8350_dpu_cfg = {
        .dspp = sm8150_dspp,
        .pingpong_count = ARRAY_SIZE(sm8350_pp),
        .pingpong = sm8350_pp,
-       .dsc_count = ARRAY_SIZE(sm8350_dsc),
-       .dsc = sm8350_dsc,
        .merge_3d_count = ARRAY_SIZE(sm8350_merge_3d),
        .merge_3d = sm8350_merge_3d,
        .intf_count = ARRAY_SIZE(sm8350_intf),