diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-07-11 02:49:57 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-07-11 19:26:41 +0300 |
commit | e28db02156496e6264ab8d9a367666dec3d871f8 (patch) | |
tree | ec631ceeee6a7f12f29c08d6b32ff147e9918c97 /drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h | |
parent | ef7d0e8dd3f0cf4d88082170089b45140cda8f72 (diff) | |
download | linux-stable-e28db02156496e6264ab8d9a367666dec3d871f8.tar.gz linux-stable-e28db02156496e6264ab8d9a367666dec3d871f8.tar.bz2 linux-stable-e28db02156496e6264ab8d9a367666dec3d871f8.zip |
drm/msm/dpu: inline DSPP_BLK macros
To simplify making changes to the hardware block definitions, expand
corresponding macros. This way making all the changes are more obvious
and visible in the source files.
Tested-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/545359/
Link: https://lore.kernel.org/r/20230704022136.130522-12-dmitry.baryshkov@linaro.org
Diffstat (limited to 'drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h index b1b027fa16f7..c640e453e6c6 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h @@ -105,8 +105,12 @@ static const struct dpu_lm_cfg sm6350_lm[] = { }; static const struct dpu_dspp_cfg sm6350_dspp[] = { - DSPP_BLK("dspp_0", DSPP_0, 0x54000, DSPP_SC7180_MASK, - &sdm845_dspp_sblk), + { + .name = "dspp_0", .id = DSPP_0, + .base = 0x54000, .len = 0x1800, + .features = DSPP_SC7180_MASK, + .sblk = &sdm845_dspp_sblk, + }, }; static struct dpu_pingpong_cfg sm6350_pp[] = { |