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: 852533 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C5CE8F6B for ; Fri, 20 Dec 2024 01:28:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734658119; cv=none; b=OBVznAaADC7hJLwGKQarGkDPvJw4qDb1uPbG8WVmu3/Ycl0G/WZmdqts7IKn6H+LsPebXEOfqxglcSqrkQ9M0dbBNTZRtM+7mUbYHnTXXvgxOiQeFghU06qxKatFuoUur3TYN7JS4IHknGJc8ThCWGo37GpbNfzRmdZAcJNZ24I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734658119; c=relaxed/simple; bh=0nHV+KsFnBOLA7ZxxfDPuxSHN3vDdgnluGgG9s77asY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qXD1dC45o+8Tj5QMgmeqwKAtFd2rVycYOOzHCC+OQcz3ntpxMlSgjMgvlytKMVwL+fH+7czZeq7i+TYxOxSvh8lf9t9AoGzu7wHEixxhFAdpI4ZzHUeqbSEIMV0yPCoFruk7GWC6R6lUR6XaicF0G+jhBjZhA6rdM996ANrmtuI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=p83fbR5E; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="p83fbR5E" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-53f22fd6832so1343910e87.1 for ; Thu, 19 Dec 2024 17:28:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734658115; x=1735262915; darn=vger.kernel.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=p83fbR5EKtBHDtWWtr49cJOvqsDIzQWp/wU2bXU+MWMMI58bD7z8/iJF3tZPZ8MpOD s6FsDpZnVuHderTIYtCdJhCP5afOkyTtMblHxSPnLsEQCzE72KYyOFf+R5bFzjAeLIi0 bVOX9XM/WyrI8qvmBANfH6CqKuSNkhrkmswdQmQ5rhpEa23uiqqrKNVyFYPoWxi0XQk6 1hfFSk1VRGe2VqahgWikxpMH4qk6UjegCsYr/x1rM2Uzw0Xbz2lz4hM6JjN8ymQXEtV/ RHA5YmI4tqQFnmDWPXsp1zQAfQwp3o1oN968I/idFQfyF+NJPnbXWlWUPFtdhIKVIQb3 16TA== 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=cVe2aOoDUQzyPM9PzZk5lys82d0CNQuCFyW6WgiKY1lePjoU5zKbC07laM5Hxbtict P/iOOH2niMovDyZHefhsdIbk+cuV0d1IA8IDD4SBmFv4KlhTiE3mQ5jH6tFzCECU8FzA Xx+6deXrF9xMrXohu/UoTEkim3YLsOf9kfBmrfZO+FmYXplO65uCs3h7kOXccPFUoBK5 /CMqCB+TJQy7txDKiQaJhmZLbNBKkdiDErNizzDTFm8etaUUcTwdTB+XojQVRZzALAyj ls+ZYqXrWjpcTeqZWEmcksajWRIOVS0+9NzwJpbPya+Oq1jyR8L+l/h1tNzGOxsruw7y xpEw== X-Forwarded-Encrypted: i=1; AJvYcCWplfh7nATj5F9m70LvHIy5sJ9zrDedmgOILyuTtBFriRKyaGiLytkArAnnd/0nJ5uhlcxgBHgRKB+Vd3R5@vger.kernel.org X-Gm-Message-State: AOJu0Yyh+Enhdnqy7nSqIXjLdjyJO3WFctV/qV2W5ycT9yuBZ82tQCOq /0VkWmOIs0hra8jFrajeSuON1gbz9e7hTlbhuKcbheLiLb7YaXuXULIoPWgbo+o= X-Gm-Gg: ASbGncvvUA7/OqYqafTFYo8GzB3CB1KdWAmvIod4dAtESOeByXMEGzLPUW84PHuElO1 Nq8rMolv/QYWPetSnvOXOfx+GLcR6WAzNM00x96aJsB9aELzkmoZnknSMdcnfKwc/7Gm4oSKBxi nzmV4kk8Dn+8efuFefoKodk6fnS2m05R8YziTeSP9ZJsTHNXQkBzAghBeZr/ubp1zBzX1VphOQK OFiENyGMSczTYzKadH5NMFEYq/gNiClfs3he+prLekDwJyjFpxNMiXrdCCYZ+Pn 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 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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, From patchwork Fri Dec 20 01:28:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 852532 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 064AA364BA for ; Fri, 20 Dec 2024 01:28:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734658123; cv=none; b=kfxyn6yfQM1tNqLAl3jIQJHs3D3HLKpujpFEcZBUqhP88XKwW5DbOO/8S4jd7p96tdAAarorrDwj50chVwkcwSxoAkBWg3iNLElpS36Fjkou+qeChotOoYVAMq/Xyrhfx3mTQM9zlvAWFtPeU+2kNXRjQxIyZFgHAnYn0296i20= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734658123; c=relaxed/simple; bh=dZzh3PXS76i6xnboEA79w1m+EII00mpCa9Y07Mzie78=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=adyv6Zhk6a3ipXcRQzQ2/iRCPpWw3xIWt6JCbzwoqBQjoZnCPU63k/LwX3p6Ukg2F1wO4cil/lNO/pPWDnXyICvB3nz87Q7vxJc6t1N9DVRSFdvbyIoy+YHRVf0TV14gRe1bnARuaRYotMJGnaBHKtsRDhLdxiiDvo8GOpr5Z8Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=JovlaRKI; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JovlaRKI" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-53df6322ea7so1606149e87.0 for ; Thu, 19 Dec 2024 17:28:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734658120; x=1735262920; darn=vger.kernel.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=cNGurZx5APr5o8b1YKpzmXoTLfFEipQsrmLsb92m7mw=; b=JovlaRKIDTfJefd/T0szl2myZ43St9vKUW3JmKj5R/gW/btRjlIRnPWjMw1H7e0UCI pOSU7JYJBJjrJHIixkRvgqDSmtvD4qm3teN/DBng5vrDPR2nFXjJwPkGvZH3cGXOMfXf 9zUPtPLYvjLgw0zu0BIEb2ZHBdtGVziTqAoiW472BDKZ8bueGqH6nVIRmmKvp9FImTW3 DdAS4zRxU3IbpDvAFett6WNlHxjOuy1LylHFbqv9PplhBIb+6U9M6wiPHcOVlKCiqqH/ 5i44Wui2eGDmrTgL3+7c0D9AWrdfyV4ktqT1HbNbIIoVbSJ7U+qVK6YKdPGIaUn/cgkD YGAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734658120; x=1735262920; 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=cNGurZx5APr5o8b1YKpzmXoTLfFEipQsrmLsb92m7mw=; b=UBi5buveSC8JTFe5igdOrGOxPJPHKs2reRMbS5bmag9SkgVw0LopcOHuExIGBatyjd M8smvv+vfONOUKVPaGOLez76+RDt+w8nwP6K7b5REParMe1DNz6gn/qfCC67afHOxUPn ItsYrz2XBwEOt0tUbqtJ3Tzyik2RafaN00XYdfSZQw0O52NtkXrOjlG/LoVHz2q2Jxiu bEGin2ds6DJuk8Hj9Dvk9h45iDJ+MA++VURiXX3kHkxHOt3OHvFg6BPtDb7myFEs4CIw IpvkshecI5MOVyF2vDhZuo1zxCxm5dDb3X9nJHF6ALB4dIRdS7wCCdoxRrCTkSEoUcYg WwSQ== X-Forwarded-Encrypted: i=1; AJvYcCXGKZQZ5p+j80+Jdv/zWy5SiF4K7Yk1FBrxIm97LR6N1RI3n/o5Tu6+Db3gTeLlTtKFz0sHBFpNwY+HpnnL@vger.kernel.org X-Gm-Message-State: AOJu0YzlOYIiAG1kUYk55OyfvEDZIdxMhxZucNz9Wm79IvHwp2YCppum wWxyim985ihQZIaMBP7l73makOmvNYs2aUGoaGGUIegreVhEUeAF90FSRzo9KCk= X-Gm-Gg: ASbGncvKIgDxza5PChGqQPKR81jUIC4tNKptWfyBc6qtuXvqayXV7DsftwVO6mCh06p 35hIhpjQhTSR0GEwZS6Xs+hE7uNI/4iGwKRgtJn4ySNtbqbJjodn/lDefh8zPDzkRZVLJTPsAqs icBI2XNHHSPowBVk6bclw6KAvPuChduy0I93cr8E4umsjcM3r025mroW6QbGkKl0bg3NcfCz5QV J2MERtI4pvVjsADYVzAUQi8B6cd7Z4BXVNh1IiAtmV1t5bImmm8P/Kdwz+jlCLz X-Google-Smtp-Source: AGHT+IEzZsIs9KHrk+RQNoZgbtix0ubEjo1ieObMZDI8gSvt5gDisA0jhTtuC/z1S2rpaDu+Y3v9hg== X-Received: by 2002:a05:6512:1055:b0:542:232a:7b2c with SMTP id 2adb3069b0e04-54229548e22mr177814e87.29.1734658120251; Thu, 19 Dec 2024 17:28:40 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 17:28:39 -0800 (PST) From: Dmitry Baryshkov Date: Fri, 20 Dec 2024 03:28:32 +0200 Subject: [PATCH v2 4/8] drm/msm/dpu: link DSPP_2/_3 blocks on SM8250 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241220-dpu-fix-catalog-v2-4-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=dZzh3PXS76i6xnboEA79w1m+EII00mpCa9Y07Mzie78=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ3rKCbtco8lmN7xdHszWyrTvlH/Va6gQOXnhca6J55/M0 p37RvtvJ6MxCwMjF4OsmCKLT0HL1JhNyWEfdkythxnEygQyhYGLUwAmIrmfg2Eiu2lo8Z5c6RyX Hbeui8duXMSxykPaoNlh5Uo74cSQ5uqnWzdV58azlf/mWDmlbH5Hw9a4FIdH3driHWsvxvwUtTB 2axMLkbA5VPRimZ5xj8qq3a8Nij+x+VmWO2rJh+u8rnQUObWBkedeih4j6/pp3YZXONOZ1M7yBy f5V6te134k+J7T2fzD8b3y0+6aCbYnXhDc95szle/A+kN1O2yOf2FakcvMOTHkFnuigg+PuaCog +rO4Bt7Y9h8w52CuOoWTq9z15bgdqrv6k+ZtEKD40bKgWWtT5YvzXt1d5JHaHjAPG0+2eeHhaqa LsYr7n67PT+z7cyEmZ27tCWysvutb34uDlu2guuBSSUA X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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_6_0_sm8250.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h index a57d50b1f0280776bb95f55b8fce9aa8259d7041..e8916ae826a6daf30eb08de53521dae89c07636c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h @@ -162,6 +162,7 @@ static const struct dpu_lm_cfg sm8250_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, @@ -169,6 +170,7 @@ static const struct dpu_lm_cfg sm8250_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, From patchwork Fri Dec 20 01:28:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 852531 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0DBA770FE for ; Fri, 20 Dec 2024 01:28:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734658128; cv=none; b=TaCJcQk+I/me1PcvbJQbFTM149rTak2nKqvODk4P/nhdwCLpSeWqurKSo/kFRbz1XlzGKxEwbmm3b3FH4D85TLsr/hE+PrLtM8aEYSeJllQRfowhKwIwS33vGAE6tPNLmsQ6wavA6K9CNIrxltJB2dsfD14P4TwwDJxEDflvrfY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734658128; c=relaxed/simple; bh=vb3CBdu7rRYdoP/BORloE4ExhCArGx9G4wRA2z3QaT0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mRsEP2ruMT+rhGQWtcBeJXeolSfG5r3TByqSCk/CF8E4ZWSYTIny8U0LjtO6n3tMzVfycisuZ5m1aYlGLddxzrmXBepO6fYFvws3qqBcFn3IqGutwy5fBZV5rV4FkLSQMxfvza67QOVUSBbimrQuxW74g0hVTRJpWvVuj6wSo1E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=b7OoKju1; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b7OoKju1" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-5401c68b89eso1572647e87.0 for ; Thu, 19 Dec 2024 17:28:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734658125; x=1735262925; darn=vger.kernel.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=p3GKBJwWEfw1/CxFlxhza+7CDGlBelmYowiHKIMRKmk=; b=b7OoKju1ajy0KIrsxVGicjCP+HD4YuM56+P6/zz57uvNWLT6BeIHTpFbeB7vSvx3zf PvTdegdWqQl9ZgFiXHU5fSzJoVcgqIIO4WoHFkKPeYc7bXDnKoDAF9DpAEKJMjuW7p2L z7okANWdXGchcGGWSIX5AHlKWba+pHUQy0fPEF8jLTb7pQlfN6HayUmEa0QfZxwW34BY VqHC1PYmJYdBMVa/H5ehaisaAsHmIKE/bm6cjH8OR3/BthoKlUCC77YVUwOqk5m0qutP 9qV9PVyBdIdmnWDDmBwLNyODzoFxFAIg/czPlbqTZ/NRI0UqFtS8bD/gel+lVYQDsmxw aYow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734658125; x=1735262925; 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=p3GKBJwWEfw1/CxFlxhza+7CDGlBelmYowiHKIMRKmk=; b=PZsjMUDl9bIyBPtwu+XzGcRAWKQfpNiw1vMJFF7YI9s1w/UNwIC17oKO8i7eHVS9Mn pUlueFocG3EGg6V1ZFR3ojmU/ANn741TkPOCuJgX1n3xVCT8rK1lMbGnJvB/9xwzG8FJ OrSYm3iZjMz/6iXN2OoU882PFrmb6hNqCUIE1WMNemS9wA4036CLh8KG+n50VmtZlCgJ L4JjjGp2UTP6HFippI0sv3L2noVXzW02HiMvgSJqOrl59OoOveTA7FwmGDUGGl8ePUi7 nboG+AJhSZp5gJ4V1Q0WztTrAy6aElOOTCntHEuku01GEAczoysnuglnIyrGVgqO98Nq YEog== X-Forwarded-Encrypted: i=1; AJvYcCXmQvMP0E66vqpUlFEcjW9goUu985Xlc3JAnKKN7HS/yQZBMhh1bXtrPbM/fKLL2P0ysPCGG6+ej3HbK74S@vger.kernel.org X-Gm-Message-State: AOJu0Yw6ELxouiT0cUp2KotCUMNGiKlSfjavgSlodhL9uzHUnpUtNgry 7tTm/0aU0YKjezvQFfFj2Hkbh5zoOxUrMcV4YGfkcTXLp80e8x3rtkuBnoekhpc= X-Gm-Gg: ASbGncuJz9KPoKCdcRfUMU25gofGXvCkkpFY3dH41pvx1NrsDrNoSlJLio7XWVSp5DX B25cg6fTBLZr6GDpPdzdBOmJYaBlhbqvBMUdYfr6JTuGVY3JNfu5ZylFByQxD8tbmU/I8Z7A6QQ TJvySwII9MWCaY6L/uzu7XU1vU76oU9/S/crHe9ZPo392Uew9KxvbzIhdwUIhei4vOWxgk1F/9y 1GVPOP1+e9VqvVwBDWuioltoS5pjE5WVaBmHJw2uqdo7yOcBAuQLJwDcBPsmsUd X-Google-Smtp-Source: AGHT+IHESAj0aPRm12hAGclUJ3UmR8oxmXDZHMsUjV8nmvQd5MLhJkySZ0kJVJQK5K08IYjyPoxqEQ== X-Received: by 2002:a05:6512:3f04:b0:542:28af:816 with SMTP id 2adb3069b0e04-5422946ed34mr244788e87.20.1734658125099; Thu, 19 Dec 2024 17:28:45 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 17:28:43 -0800 (PST) From: Dmitry Baryshkov Date: Fri, 20 Dec 2024 03:28:34 +0200 Subject: [PATCH v2 6/8] drm/msm/dpu: link DSPP_2/_3 blocks on SM8550 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241220-dpu-fix-catalog-v2-6-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=1295; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=vb3CBdu7rRYdoP/BORloE4ExhCArGx9G4wRA2z3QaT0=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnZMg/ND6AujJKVlejqIx5KgOPU/QuqfhojOWOi DhTvYmZfx2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ2TIPwAKCRCLPIo+Aiko 1bHqCACxnLhTsGmevsDSoJuKkR2vjzK5c0HdYKwGpX6aV+XMirfriaa2P5aaQ/tlhTRWFh6ufvm UUq/IdVRCqTPCoyRknT5AR0bXpShVOk7mW1h1BL+zhdkygTNie8HqmjBrQI13S/VEDjAgf9vS2A XM47vQjpfYpCw0wkwQXpW75lPPE+DCkEIzfR9srWIxj3eHjgsFU/543xYYM37xUlZPIcCyLYp4K k2NC9DgkYTXIQ8ICtLnna3UzGRR6GyX81wPnLPjU2NUNBCI1kgJfrZtamqnexvEo4OJNwUXA8f7 cOG+Yn9ZFNI1Aa+KLW57vbItrG5Rt6xAVM0V8DPL+XcK90l/ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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: efcd0107727c ("drm/msm/dpu: add support for SM8550") Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h index ad48defa154f7d808c695860fd91e60bbb08f42a..a1dbbf5c652ff9f21c02af2e2520f019702f29c1 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h @@ -160,6 +160,7 @@ static const struct dpu_lm_cfg sm8550_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, @@ -167,6 +168,7 @@ static const struct dpu_lm_cfg sm8550_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, From patchwork Fri Dec 20 01:28:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 852530 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C99AD86334 for ; Fri, 20 Dec 2024 01:28:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734658132; cv=none; b=r/EPUh3BgSu4O+MKEY04gbai65at+qX8A79kdYclnicJbu9X8FkJ7+/CgdadtL7BXO4fwiL9SW2ZPSXvGsjdlyK/9H3PX27lif0ewBp2h9GgWV8FxgRWi0+BniarZfJaeZI/nIFekgWoMMtB2UVTvOtnWyAxqKVd0dzL1FYFt30= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734658132; c=relaxed/simple; bh=5058CHEvuHi6y1shjj/7LSsaLqFOGpH0zSafsGTeHak=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H2k8RFCuKZu4X2VLSvILnlO/f5SJPz5OortRPtmnK4NLErM8cuiQE7/MDPgeFPcy9Q1Z0J9CCfXtrZxGThvPI2/klZyAwtF56Y9NjPUfQ3C4+jQCQh2OXexr2YF/QpkHt1+q6ukDm2++YSHtTSJf0j0kZYgXiUxJ1NUnpmrssZU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=TGx19XRV; arc=none smtp.client-ip=209.85.167.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TGx19XRV" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-54021daa6cbso1414776e87.0 for ; Thu, 19 Dec 2024 17:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734658129; x=1735262929; darn=vger.kernel.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=g+UxLeMEKZ0drgg5vIKf6D6FbqGDQrxrvZvv2J0cYAE=; b=TGx19XRVlEHchzn1valKhCMRQtPTCC0JjYSZtdjU9kLEaCKzLyddPjvrMFvZiHsUAO grUo4aO/hNwwGc3oVShvC0XLqyyyASHv3VjsNKPkBVRYot0f1ENiC6cX61KhzuTWtezB dpLLYlwN3HHV6ZNZ0KsRfJpPzeO7LEzIomNQk/ozNpKaG9voFDXZ1YsWOp01pwg3+T/a FF3JGb7JBk5CTjVBAyAVUjWF5Ic5uPUHv22mlmwIC/g+EaaHpT0uvs/xKx7psna1Sy5G bnM6KYvG7Wx3cx+ggiNdwFLSuYLhmvO5sFtdhL4ssxVic8Z9w/uGH3l1PTyVB3z2eCmj hj2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734658129; x=1735262929; 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=g+UxLeMEKZ0drgg5vIKf6D6FbqGDQrxrvZvv2J0cYAE=; b=fA+ZnTOsD+WtrgZVG5n3sHL+CQC+L/YDK+R1S16L+u+sI0smaMIMu3BXGEUVdGbkG9 WfBiKF3EBWVvfveGJAxZP+Obag2cMLAYnR9c8S7Uedn/mlK+d00hd/rFpO8lt3RKpnNf mZHhT8ATMvbh8tNea/LvxPaYl9NvQKvLLqP8p6g3rugQY/LEzYFDXm4f0rcb41DbXqRk ENXFeqPYNFHuaDzEheKdf/1D9ocg42d4I1Mdueewd7uDMxrXbAfUvL7pQ1LYvxjRkPMa cTLQx+Y0Umegte7DXpcO/HABaJVJv8/EdXBK8WJzsrJSvdq19L3UdNVoMW0idizLUVQj 5Sag== X-Forwarded-Encrypted: i=1; AJvYcCXLE9VSlgiEhUW+KBHdZnUNPsatKorHpBcCI/mZwEFFTnEY0EOaFoCHRTdBfaDAvGkN9PlnTihotuD/yvjw@vger.kernel.org X-Gm-Message-State: AOJu0Yz87SASS6Sfcw7dNbE3Y9rP7K6lwPdGGmG0klULojUDi38aR1g5 tyIJxMZkDfG/Vv7oZz4Gk+HCAbU7Fh9rVvj3PESbCi3Av8hnTbhATJRNgyM2XWQ= X-Gm-Gg: ASbGncvG8DnyZgt9njw9wN7od+D1zyS+DFDlBPzpSw+TPswBzWu81p8sFQ7YPvybjb3 vGmIrqfr3IQCovzsCiQnEgzJIAPz9ZYQuhVKcjruZOQXIbdG5Ra8MzshdgFu6FAZhDBYiBqzgkd c5xdP/g/VikMMpM/Pt9lPjjZIBARXrEbDf2RFjnxuXp2LgGmHzVe/jgunSgNAIil0TehiD7adrf vdVWtiQJPCN/GXvXMAYEbzoqwpUNswq8c4rbYInVTUNRUmNfAp+ASXnqFe9rBxB X-Google-Smtp-Source: AGHT+IH5Icut19CrQRKgtDSzCRG8qNy2m4CTSKGxVWKKTUEhiYw6FKBa1WmLIGAIiUsb9ae8mcxHFQ== X-Received: by 2002:a05:6512:1055:b0:53e:39e6:a1c1 with SMTP id 2adb3069b0e04-54229560360mr232733e87.43.1734658129064; Thu, 19 Dec 2024 17:28:49 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 17:28:47 -0800 (PST) From: Dmitry Baryshkov Date: Fri, 20 Dec 2024 03:28:36 +0200 Subject: [PATCH v2 8/8] drm/msm/dpu: link DSPP_2/_3 blocks on X1E80100 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241220-dpu-fix-catalog-v2-8-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=1307; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=5058CHEvuHi6y1shjj/7LSsaLqFOGpH0zSafsGTeHak=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnZMg/RB+Fi7NOIgUKpxxiaLrBsE7s80wm6VMMl UTR4BMn15uJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ2TIPwAKCRCLPIo+Aiko 1QbaB/9MRXkpbzcxPF0Rcp5LR396dEkAkPli7KvHNg1toaDhWPRd5C5qR8G8fog0tXC0vQP8SLm zqaHgaRd+nheWQRf69qtmv5FXJoNt0oiyjgtNcxeokyocr3GYy07Y3hR592MYN5EJwu6aE9X+5+ HCHKAZDNf2apKR+GPHPXPoZZ1UVJLScMigOzkAX72Sq5+kUzu2XB3OvlVhrXMQPBb0BTbvEtPCp rkHncfnva1A2cFkxmw5imydwNGwSq4yiGLKiiaW+cOf/jdDMnCs9KdR7a/28KDRO1a4ZxiD+oEp pAcUn1XMmvDK83Iy5U4XmQGl8eaE4EtvxRff50IJWybEfSH3 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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: e3b1f369db5a ("drm/msm/dpu: Add X1E80100 support") Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h index d61895bb396fb4287e9b41807a3bb0cdb25d4e25..4f110be6b750d30e158d517aaa507c7b4eda0af4 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h @@ -159,6 +159,7 @@ static const struct dpu_lm_cfg x1e80100_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, @@ -166,6 +167,7 @@ static const struct dpu_lm_cfg x1e80100_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,