mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [v1 1/2] drm/msm/disp/dpu1: add dspp support for sc7280
@ 2022-06-21  9:06 Kalyan Thota
  2022-06-21  9:06 ` [v1 2/2] drm/msm/disp/dpu1: enable crtc color management based on encoder topology Kalyan Thota
  2022-06-21 10:40 ` [v1 1/2] drm/msm/disp/dpu1: add dspp support for sc7280 Dmitry Baryshkov
  0 siblings, 2 replies; 7+ messages in thread
From: Kalyan Thota @ 2022-06-21  9:06 UTC (permalink / raw)
  To: y, dri-devel, linux-arm-msm, freedreno, devicetree
  Cc: Kalyan Thota, linux-kernel, robdclark, dianders, swboyd,
	quic_vpolimer, dmitry.baryshkov, quic_abhinavk

Add destination side post processing hw block support in sc7280.

This hwblock enablement is necessary to support color features
like CT Matix (Ex: Night Light feature)

Change-Id: Iba7d5e1693b06cede2891f5b998466070a77c6ef
Signed-off-by: Kalyan Thota <quic_kalyant@quicinc.com>
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
index a4fe77c..021eb2f 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
@@ -928,7 +928,7 @@ static const struct dpu_lm_cfg sm8150_lm[] = {
 
 static const struct dpu_lm_cfg sc7280_lm[] = {
 	LM_BLK("lm_0", LM_0, 0x44000, MIXER_SC7180_MASK,
-		&sc7180_lm_sblk, PINGPONG_0, 0, 0),
+		&sc7180_lm_sblk, PINGPONG_0, 0, DSPP_0),
 	LM_BLK("lm_2", LM_2, 0x46000, MIXER_SC7180_MASK,
 		&sc7180_lm_sblk, PINGPONG_2, LM_3, 0),
 	LM_BLK("lm_3", LM_3, 0x47000, MIXER_SC7180_MASK,
@@ -1792,6 +1792,8 @@ static void sc7280_cfg_init(struct dpu_mdss_cfg *dpu_cfg)
 		.ctl = sc7280_ctl,
 		.sspp_count = ARRAY_SIZE(sc7280_sspp),
 		.sspp = sc7280_sspp,
+		.dspp_count = ARRAY_SIZE(sc7180_dspp),
+		.dspp = sc7180_dspp,
 		.mixer_count = ARRAY_SIZE(sc7280_lm),
 		.mixer = sc7280_lm,
 		.pingpong_count = ARRAY_SIZE(sc7280_pp),
-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-26 14:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21  9:06 [v1 1/2] drm/msm/disp/dpu1: add dspp support for sc7280 Kalyan Thota
2022-06-21  9:06 ` [v1 2/2] drm/msm/disp/dpu1: enable crtc color management based on encoder topology Kalyan Thota
2022-06-21 11:12   ` Dmitry Baryshkov
2022-06-27 11:56     ` Kalyan Thota
2022-07-20 20:26       ` Rob Clark
2022-08-26 14:09       ` Dmitry Baryshkov
2022-06-21 10:40 ` [v1 1/2] drm/msm/disp/dpu1: add dspp support for sc7280 Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®