diff options
author | Kalyan Thota <kalyan_t@codeaurora.org> | 2020-03-24 15:31:18 +0530 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-05-18 09:26:32 -0700 |
commit | e47616df008b1059c57892fb34883403a6933231 (patch) | |
tree | 0855b60f03462cc8bd0c4eb34d3d934af21bd1ee /drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h | |
parent | e4337877c5d578722c0716f131fb774522013cf5 (diff) | |
download | linux-stable-e47616df008b1059c57892fb34883403a6933231.tar.gz linux-stable-e47616df008b1059c57892fb34883403a6933231.tar.bz2 linux-stable-e47616df008b1059c57892fb34883403a6933231.zip |
drm/msm/dpu: add support for color processing blocks in dpu driver
This change adds support to configure dspp blocks in
the dpu driver.
Macro description of the changes coming in this patch.
1) Add dspp definitions in the hw catalog.
2) Add capability to reserve dspp blocks in the display data path.
3) Attach the reserved block to the encoder.
Signed-off-by: Kalyan Thota <kalyan_t@codeaurora.org>
Tested-by: Fritz Koenig <frkoenig@google.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h index 09e1263c72e2..ec579b470a80 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h @@ -139,6 +139,9 @@ struct dpu_hw_ctl_ops { uint32_t (*get_bitmask_mixer)(struct dpu_hw_ctl *ctx, enum dpu_lm blk); + uint32_t (*get_bitmask_dspp)(struct dpu_hw_ctl *ctx, + enum dpu_dspp blk); + /** * Query the value of the intf flush mask * No effect on hardware |