]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: Allow specifying features and sblk in DSPP_BLK macro
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Tue, 12 Jan 2021 19:26:29 +0000 (20:26 +0100)
committerRob Clark <robdclark@chromium.org>
Sun, 31 Jan 2021 19:34:35 +0000 (11:34 -0800)
commita343c2489276b61ebdf09be4974f50f01110cc49
tree1dd39b50c83051d7e797d05ba9471388829030e5
parentc4b64a5a34089323f49d8eab40d45b2f355fcc9c
drm/msm/dpu: Allow specifying features and sblk in DSPP_BLK macro

The DSPP_BLK macro was ad-hoc made for SC7180, but this is wrong
because not all of the DPU DSPP versions can use the same DSPP block
configuration, and not all of them have got the same features.

For this reason, add two more params to the DSPP_BLK macro, so that
it is possible to specify the feature mask and the sblk config for
each DSPP.

Fixes: 6a7073f488d5 ("drm/msm/dpu: add support for pcc color block in dpu driver")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c