From patchwork Fri Dec 20 01:28:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13915971 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CDD6CE7718B for ; Fri, 20 Dec 2024 01:28:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7380D10EE28; Fri, 20 Dec 2024 01:28:40 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="yZebCi0f"; dkim-atps=neutral Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2414E10EE26 for ; Fri, 20 Dec 2024 01:28:37 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-53e3a90336eso1457692e87.3 for ; Thu, 19 Dec 2024 17:28:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734658115; x=1735262915; darn=lists.freedesktop.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=w4ndfZOZJO1jxo/ZES5BqsNFMwpzqaVZfLDHYM6sZiI=; b=yZebCi0f723QejFz5ddesZlV2YTLV/nqFF3Eajiny7PLWjF85WWEN1PanlT9kVFEmC hKuF71B4A8V6qXHuwOd3IMzT6EH6cXB3m7PfGpG2IsvJHPCBKOVGl8dHcC9gAtLIK7+M hKqZkEu3i25VF6mfYgyMKaD68xZyytUDrsTpS4VM6X52JUHz/4W2L4kNfTePrqy1otSp Ioo0YMfAVsv2cUB6UB7RwiCWabs31DV6itdP1xf0Lq97vNU1vS0JAR4z9mcaKLANSJbc sRHax4hyb7+9RhixEe3bZWw3bQFCmnGo9n34aQ7JUK6Pn2CLwg7xGpyNjVSBeeMGDhqY EHdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734658115; x=1735262915; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w4ndfZOZJO1jxo/ZES5BqsNFMwpzqaVZfLDHYM6sZiI=; b=UJVxG3mmGFZ8F0VWah2E7GP/xaTna+w94ksTIWjMINiB35QO8DzFcEGPsI9OfpkVkQ A8qaD1m7eVdptq5679N/iydw7oZkcCL+o1J1Hwmob5afvE6z35TcjjQ33ugnqOFNbjtn 7Ey8EQSP8W8HSkqmyrL4QQ99p9fU2/XWjDG1YPlqMQoz4eLC2tMWW/lOKCIwMxNROC0i Yf4QOhDm0WINsnZJRdQdKDNKzfkRepOgj6dOZE5Bfx/LQgxzoAMokzrdwbrvHbc1r5xg 4yPCpQepx/CnAGDvCnkKCP6YpaL99tVrxFwduPnSzcq3YEHpsCkY/5Mptn0h9uTk7Vaw 6mRw== X-Forwarded-Encrypted: i=1; AJvYcCWFHMi4e4BfbY6DHHAQ1h5O7wp0+UMr4gZigDWnHEtXngdvzVTJrFCuu0ONclJhSIYYltJenML/zfU=@lists.freedesktop.org X-Gm-Message-State: AOJu0Yyfxv7yrKYRv1OKrcwn/m8K25LqtJoOJ7XxG1XpCYk1SPJmBWrm gVpmN516webfBIVJ8BP3TU+co1F4rYzBXnbk2LLjGYym+l9/FV3xkAxpWhruvRo= X-Gm-Gg: ASbGnctwFzR+tT5Dd4qc/VJgPpXRVSnL6Lyb4vcM4st2CDom/nDUM4x2e2ZgPJLzzj5 Np24sfzqlFk7GHIjdefy4H670tARFbx2yEVzVP9XC6i7WbIXKcpEhotEnJCa0GYKniRXXcDXZHb ml7J+ulAIe7T9YrjUUeGJFEYE77hELvOTq+NnU3u6tabhoyvTPcxXO90a+KNm0MFQOQaBzIqpGs diwwv+XlDqFhHzbt1f5tS6PnnvaAGLLJvHFMfW2o/XXLW4priMU5O4TFtW65xnU X-Google-Smtp-Source: AGHT+IHs8K/VbvXTO8Xz4iZdDagLPpBuaGlYHTDPeiDhViakq0c6cSmYpXdTleF1r+SIikPOF9knag== X-Received: by 2002:a05:6512:2308:b0:53e:2f9d:6a81 with SMTP id 2adb3069b0e04-54229560339mr177427e87.39.1734658115428; Thu, 19 Dec 2024 17:28:35 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54227a89c2csm170540e87.71.2024.12.19.17.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 17:28:35 -0800 (PST) From: Dmitry Baryshkov Date: Fri, 20 Dec 2024 03:28:30 +0200 Subject: [PATCH v2 2/8] drm/msm/dpu: link DSPP_2/_3 blocks on SM8150 MIME-Version: 1.0 Message-Id: <20241220-dpu-fix-catalog-v2-2-38fa961ea992@linaro.org> References: <20241220-dpu-fix-catalog-v2-0-38fa961ea992@linaro.org> In-Reply-To: <20241220-dpu-fix-catalog-v2-0-38fa961ea992@linaro.org> To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Robert Foss , Neil Armstrong , Abel Vesa , Richard Acayan Cc: Rob Clark , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Johan Hovold X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1305; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=0nHV+KsFnBOLA7ZxxfDPuxSHN3vDdgnluGgG9s77asY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnZMg+cUL3mr5ppuT98cOi+fVsGwppbZmBA/cXY T6tI8w+2GOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ2TIPgAKCRCLPIo+Aiko 1d8ZB/0YSHJHTNMquXkcsraZdDPc40CYd7yWi8YA/3S2WD+87CVaoICq8y56B8NmuLoeaq+eBGK +Ju8Le/3jUsJlwb2kHtL7vGpEnux9+b8ozLGdL0xs19S37/SkWOO3N5eIKrQXygVIN9kpEaJijD yh2Sidt+1WbR7/x43yLNs0T4kQK/9Y75INqPBRRq3xm4PEBsB5SFG2yK62owBF6kAJJs8mwE16X +nStEKtF2sMuZNvPkRZ7a9wkLNx5Edr4QMeXFsU/KQTDbh+Hgb1lbRsls+LnnRc4/jpeZfPgWyX kmdbILxAjDIHpvSQdHUN3I72Y6Uxeu+Vhr+jVwV+C2LMv5cI X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Link DSPP_2 to the LM_2 and DSPP_3 to the LM_3 mixer blocks. This allows using colour transformation matrix (aka night mode) with more outputs at the same time. Fixes: 05ae91d960fd ("drm/msm/dpu: enable DSPP support on SM8[12]50") Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h index 6ccfde82fecdb4e3612df161814b16f7af40ca5f..421afacb7248039abd9fb66bcb73b756ae0d640a 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h @@ -164,6 +164,7 @@ static const struct dpu_lm_cfg sm8150_lm[] = { .sblk = &sdm845_lm_sblk, .lm_pair = LM_3, .pingpong = PINGPONG_2, + .dspp = DSPP_2, }, { .name = "lm_3", .id = LM_3, .base = 0x47000, .len = 0x320, @@ -171,6 +172,7 @@ static const struct dpu_lm_cfg sm8150_lm[] = { .sblk = &sdm845_lm_sblk, .lm_pair = LM_2, .pingpong = PINGPONG_3, + .dspp = DSPP_3, }, { .name = "lm_4", .id = LM_4, .base = 0x48000, .len = 0x320,