From patchwork Mon Dec 16 08:27:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13909361 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 AA6431FFC47 for ; Mon, 16 Dec 2024 08:27:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337652; cv=none; b=imZpS7mazVlaIO+7wOTwJvXI+BaK5q3O0ZOX5Rt3i5hIAgxe9nDGU2oPkaf2ycLAt/UUjEqRw6xQIQ2bbP3507S2zPi4ibQowCPW+fwPmIw8p7dnWRTW9EUeFR690LOPTqIeWYDACSUU3hV9luerCXQyvur/D5D1iWPwLmJ41YM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337652; c=relaxed/simple; bh=9MObEe5KzGyCABZYczA3jsFGPjAHvUO1PrGscQg+Yd8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iegwqXEKiGqB+gPuk4ylnwHas6Z22gIPm3p5q/9vYF8Lbzd3Jh8eZIuSSBCoJRA4kxtspb5JxxAgZZQcUmizCSDNPRmmKmsyuE9B6YgMa3YeskwnWVG33LAXiN1Da2ua8cGMJMDxCfWC8Pz7jkt/WXIbMywla7gAEDtGd5f3Wr8= 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=oAfNKSBJ; arc=none smtp.client-ip=209.85.208.170 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="oAfNKSBJ" Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-3022598e213so37086801fa.0 for ; Mon, 16 Dec 2024 00:27:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337649; x=1734942449; 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=p3QX07TGdBq1gHdO6oikHZ2FbBQpzQ564YrLte+zAm0=; b=oAfNKSBJyxIQ6l8JXm3nFDDMo8g8Qa4QGjnxUiTdpe4TC0T3lLhFPgjn3E6fowvNeq cSaK6lRKJEs9b4uAI5gEAyAU0rSfdGscqCoHbtGfuC2zn8gplpmQccMvrpHNE3vghtqD 4Gok0amjI1Inzvc6/W12Yi/PrAHgQQH6hKEliQy4VLo52m97Oi3MM3OmWinv0F2bh4Zd /DGX/uq9hMlhAhhGGDJnlj7oQTsDlvn+WHmc9qErEPN3sTge8AIDVKK2YmSEEIMj+F9w HzqEdzvPF+ywYpZbiR6qPUMDnzzOYPu50DhtU6crE0wipH5FK9yN03e05AbssYE6Qkue 9RYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337649; x=1734942449; 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=p3QX07TGdBq1gHdO6oikHZ2FbBQpzQ564YrLte+zAm0=; b=OFU/W0OQP5NyriNLEy6BHKD/O8VLCcWA+erRrhiJglVrKW5jHb0rsSb0SaDZOlUkpZ EihkNMbTJtciBXdmYGyiZZ5v7yFmojl4djC9jO2ctGzPWs+yThw24U/n6sW1mEvvoiaE 0U99wf1Ua1CKtDgk3d9Jg3rV4lB6i/IzkRfchfpE1NduYwnQEdaHLnL3q8j4LK7Mm8a/ 1PqJKaeuWZbUlcxqUVs3NC5d49YvwYgse9BI3t1ReZ9PLlIwRfMM9pJ22CGNVsT7M4Yj qNnkjz31P/7wXzamQbC8QifcLoGGyY721bc2gAIpKZB7kQNV01SCmEVRPcGtnR7RIUOu CKIQ== X-Forwarded-Encrypted: i=1; AJvYcCVSnivBMDpLnET39PDnQCnAJANcXIiYyrHI4Cqnv2UVMrb2SnNcM7ed9FrdJXz5moMpd286he0sWbzS72hH@vger.kernel.org X-Gm-Message-State: AOJu0YxO0pWjNGxvgb01W/Fibth3ZU+KU3FmPq851ANdpFaxm2MA4q/s QO1vQLGusHS9j1ATyofdubrkgsnupU+PguC7NhzS8Vg7piLGxzHBnaT+75UF8dQ= X-Gm-Gg: ASbGncupPwPBYJVWRyhyukeX6SDxY0pJAfDPy8P1rFduQgXcOGHrZ8BV8c5IBO2H2EJ S7WmUJTwlPQp1oe9WNRyLQco8mCC1ndoRfhfmHCVDchTFS1fUkVaDSSYkthbuUBdvNKUBwHWf3C PRJhzop4qGgfMKt/4+ptKWu45sb+zLDgM7Vbh5VuNkxVZTa053HyuLPsbIlpZe8Akr/OfmSWwIQ WV08H5+DKFxg5p6GjtywmsF+tQ+CfSKkmx6bm1sDy3NJZdfrZyF+2SybMOwPPkU X-Google-Smtp-Source: AGHT+IFx724whJM/3tgOtZRukuS/DQOvI/WHlmOjoQuMlO70R1sWXtGolZHOH0q3MJfJtAKMP/bH+g== X-Received: by 2002:a2e:a5cb:0:b0:300:27fd:a7cd with SMTP id 38308e7fff4ca-30254464080mr42374541fa.19.1734337648920; Mon, 16 Dec 2024 00:27:28 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30344045342sm8543371fa.33.2024.12.16.00.27.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:27:27 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:27:22 +0200 Subject: [PATCH 1/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: <20241216-dpu-fix-catalog-v1-1-15bf0807dba1@linaro.org> References: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@linaro.org> In-Reply-To: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1147; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=9MObEe5KzGyCABZYczA3jsFGPjAHvUO1PrGscQg+Yd8=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ3r8k2yTndeVZTf/++P01X49twj3domE3+FdLPFdf7jMA mwT2w52MhqzMDByMciKKbL4FLRMjdmUHPZhx9R6mEGsTCBTGLg4BWAin/PZ/7vnCGkdk3tiWteX uPGqhuc0xeKKy9IesoUVn0Mm7CgzL8sq6z97evsLbSbJF4vy+pc//sjQ6nIn8SfLnLu8zZx7HqS o2P521re/VyWyaVf6Lneno+eihGMbky0amdPPvfRbdWrifa6p5ZdK8hLX3+5/bxZx8LPhYf+g/F WRzxp7p9p8ElTbfDLqale0x0yVrnK+H/EpfW3p1uecuM8EdDW47T11Z9dfmX+O3J/nhXen5uXZL 2zf3beke9mnMtVQBV2rJsnH9yfpzP0y7arzzeyqO6/+2XZW77+bcJgtW59RIYW1KjAh4vbkaLt7 FXFPjlyX3VXFevWQSOcPhW9/HI86/HT4W3T0KsvPUzHJAA== 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. Fixes: 05ae91d960fd ("drm/msm/dpu: enable DSPP support on SM8[12]50") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- 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 Mon Dec 16 08:27:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13909362 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 2EDDE1FFC6C for ; Mon, 16 Dec 2024 08:27:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337654; cv=none; b=nr8+TuIc4g3din+njF4yfk05Cn/3wvqoiYS66DLQJVn2EZ4Cl0drntsDs3PFXjJsduilo6H1aBHpXHytONVoPM4oKNb8xXoAs5zKo0LLnVSN9Is9k9DmQk7iiiQ20wWB20a4qZ2UvrBQnZn+nWFSzjj8CU4JlJM4picJ2cBet1o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337654; c=relaxed/simple; bh=GNG1YjeHfuMszqIesSKPUebiuLvhN9Xn/3L3ADbn8DU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=D0KV8iRykAVHCErl5oXL2yL9FMw4VEX6Unns3bzDyn47gswX7YAFhO6/YvoMXyo5G3RBM93qQjoYRw5U1EIegb3/dfLXnowFXujHQhma3iMcDVJmaGXERtEaWYE4ZjVAwDdXG9a4TcjF8I8SGMkjg5yuPVlknGIXPUBawbKgqUc= 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=wMTz47f/; arc=none smtp.client-ip=209.85.167.45 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="wMTz47f/" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-53df19bf6a9so5523855e87.1 for ; Mon, 16 Dec 2024 00:27:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337651; x=1734942451; 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=1y3zws2OvDJOJvn4EwHQ6T46YmVm0fvbHsUMlmIZnm8=; b=wMTz47f/EdFPgso0NgXhPGrddaW2xGVr0gL5w8JRvBujFhlC5XJflkkr/hz1WGSsKJ 8S1qlUdXG13fj74FfAwY29B0xG/GK9xngKCmSdbI2YLMaK3ErzyoGeXiDsEPFwCCl4wy OoxTGIV+eo7eyCdT7Gb/5VT45AA7dmYNqGkvRroEUsP+ALH9ToQatXnQssh22vjgVZMF 3nO9eUoFi2tJM3TCVKbVtJ8jE8lbLr+iFRouzdCuNuJYNIZ7cxrYItPowEunjHAD5r1G 56jhb+75NvJ21a7KNLJeJ5dSA2q2LiLzvrgCunIlV32kSP00mf5PWz7r5/plKPHWoRoE MAzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337651; x=1734942451; 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=1y3zws2OvDJOJvn4EwHQ6T46YmVm0fvbHsUMlmIZnm8=; b=uNldcPcnksNDF/zha5zHnFJvneqefvcAmUixgJrJljvdYamIBUlL9/UtNZBsV5IIAP txp8LtlneB0LdTOm9ziugrg71a2bJ3GP5CzbZZt+cdqfKM/fn0B9mT4DVo3LatVBX2F7 Y2UeOhsA6lGTArPArm+X5vDLXbDachvqs8OSwqamlxOdaSPfXzUdbb6Y42xDJ1be16oG XMEgkn804+ga4M+HKSLoBzEWxvMdXP+hQBzDdxZhid4AoWsKuqYlOLsFOvYG+X0ICjom XMPZ5LbXmFqQUosEOUL3VesqJosQP8ahoNik9cQRmFqXNgfhS3nYVjC0/vRiyPzcfB/t nfbA== X-Forwarded-Encrypted: i=1; AJvYcCUvuuifpjYwm/Nk162x/nV+sZkCI8+7GsNi2C5Z7R7cx6kHi3p6/qKmikUenWq87/SEF6ReTNPWKErRkEiW@vger.kernel.org X-Gm-Message-State: AOJu0YyLnBE4LtPdDvmQgnwC/yp/jdfpZpj4871Tmhy1RJwaDK+Qqgz6 QLlgkVeD2l+hM39+wr8QEYovvs6hfYmwHsWx9nlzYtoo46T1rkO6siP/cYVzG2E= X-Gm-Gg: ASbGncvqanTq7lip+U3SjLklBGNE1VSRgVC9FTzEqSJ7KWGqYVnqrhIu0RQjfSQNgnQ TbaCwvJZhThq8W5lB0KsxmCr1NLVBhw3UcX1o6L8C0TWuMnMDpDPJwhRG9W6Y5KA1mpdl4k8pop qhTcxdXDl3OJBLM+oNpy53AWVL/sc8vrSyoUrkWO8G2Tg+Ny8BjgMkEp7tR5a7mwBXrHf/Q2nej dpYoJf+XLk4zyp2mtw97I1bPFYzTN4F7yf+FDPwuymclckiFWIBOtged6kb1VMb X-Google-Smtp-Source: AGHT+IEzJ0NEoETgA7c8ba6XyTQ/DzGVN/VS5aRCw2hY/b5fwtTAbAtRpZytYulUjtMOAdHNJr0JqA== X-Received: by 2002:a2e:a989:0:b0:300:2d54:c2ae with SMTP id 38308e7fff4ca-302546115demr45480641fa.27.1734337651302; Mon, 16 Dec 2024 00:27:31 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30344045342sm8543371fa.33.2024.12.16.00.27.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:27:30 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:27:23 +0200 Subject: [PATCH 2/8] drm/msm/dpu: link DSPP_2/_3 blocks on SC8180X Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241216-dpu-fix-catalog-v1-2-15bf0807dba1@linaro.org> References: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@linaro.org> In-Reply-To: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1152; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=GNG1YjeHfuMszqIesSKPUebiuLvhN9Xn/3L3ADbn8DU=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnX+RrE/1t7QKrO1i15J4Z2UkK/SQyKBi/FHqf9 nl4CVCFJu2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ1/kawAKCRCLPIo+Aiko 1aq/B/9wOMO2d+TGtOtYeWqt92iBk1GzTfpG0xNYpmbvSaiR55N0aFWclXEzgT4g2cc19vzzryv c41PGKSpiK5qXbnkhTcLfOqc/UVycrEYNAlzrGUaZW0vL7Yx4UerVgkBozAW5y04OEUYoZpiJYr MjMEURWwYOhGMkdOo7Wl5S5plX1JOwXrlZQkJt6NsAJ3lUv98ms/VamgWhKTarJqESXw46g21+F /qWNUK+XC6tSfqqjtZks/sIgGxMbfOAIRdPJJnCt43I9wNX9Ng4Kxc9Lc1uG5zTwzw2A6Xl5VEg ABGMRPo83JhPnmTajrbbslOPzjGGsAneXND3EH99hJx4QC5G 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. Fixes: f5abecfe339e ("drm/msm/dpu: enable DSPP and DSC on sc8180x") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h index bab19ddd1d4f97805c1bfba8ba6e117ae77c6c2e..641023b102bf59352546f0782d9264986367de78 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h @@ -163,6 +163,7 @@ static const struct dpu_lm_cfg sc8180x_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, @@ -170,6 +171,7 @@ static const struct dpu_lm_cfg sc8180x_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 Mon Dec 16 08:27:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13909363 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 6FC4C200116 for ; Mon, 16 Dec 2024 08:27:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337657; cv=none; b=P2sq6lqWS3p5+0iYYKqgFR4SR6PYHvuQz3O3u42MoDF9UY02WdoORFi7SZxeZgkyeSGRXvWUBm8N+Y8SEU36plsp05DpEU2xAgeExg5WNkmDEGcAv+tqJu8hQxahlICL0a6aYFARFwCjK1/sMmgo9btNAIkUdjwULjEosOY3E/s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337657; c=relaxed/simple; bh=yl0V5Ivn93jx2EQt5ftkkxVs5AyWzNRaoZkPTxOHYqg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GQ0oO8otk+VzQ+0TvVDkLq0LRuOBHzwa736Chu7YjDc44NKnemxgfHEp3Um4n/gON+YkprhTC2eMzSrjQqlk624aAu6Mpim0Wxfv3VICalA49qBb3MeCl83SpXhSEkShec7h/K1bOknUSWZxFkctk0bjxSgmKUHl1SGc8uodp0k= 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=VhEmDeVZ; arc=none smtp.client-ip=209.85.208.180 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="VhEmDeVZ" Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-300479ca5c6so37605491fa.3 for ; Mon, 16 Dec 2024 00:27:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337654; x=1734942454; 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=N9TgW+CYKyvw5H3rblc158ZUNsXRwqGtSWGiWPsFQ+U=; b=VhEmDeVZkNTpwocFB522FtYjS5sqr+SfKqgbvFXo9Szlu5RmydX0DnzVqEWV9roCtO K8xUZ1eczToopBrGkolC6gctSTwsotNR1wk9fl889PUT7y1jLWS1YSFean0QHBsYBYxV vf87uekvL++EA7TY6rx4fYwsyHsyhichGfuGRe9zXkr+wKPPZUTjNIhDTgWbzKaUIzwV bJ6cN9zWQZPNzv5UQS5mnXT6WiK9XxJqacqZxnATKJ9l2OaYiikB/3FGRSc/jPeisCX9 rovjQpGvs3tY/mEDKTf9AjhEgT9WuVozxxJSZqmpRnVZr3Ooiz7CF57hprXEZehH7MBM Ueew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337654; x=1734942454; 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=N9TgW+CYKyvw5H3rblc158ZUNsXRwqGtSWGiWPsFQ+U=; b=WbWbncGUbxvH61g9pN9O6VRuMA0nvrt5FPxqnoGCPTB7eMVdbVkiL8JMEDWunQOYK0 b7Yp6KIJG+FRVLmpLA9sXN3yP/rjxQRFdobIgwg/I0bEBgp/1pKM5bM0EafaBuYBqBuN 2MD+naZ1L6bVXj7/MgtpHZQJvrpRDEnrTbe++Ogwa2kcgk4rQx8B0BhTCbhgxfKAB2nH zknVrY2jtul/df7Bs74yGTUphnziVFkI1+1tp6ISM9pg00mn8dZNSNKuykHxYg0ySNZW cMDpbuwzB5mwnfrK7b4nQ/VK/nuTvJt4A6DiVsBXGUFDSxXAcmT9DW8CxvHlC6A7/XYO 8hCA== X-Forwarded-Encrypted: i=1; AJvYcCU653aiai9jvTmwRUxWK0obxOYCSiGYY60mzPJTUuU6/sZ7zEqe+9bThj2VJ85++9CjkkKBXEpNsq3oygEF@vger.kernel.org X-Gm-Message-State: AOJu0YyuK+OP/IgSB3yHgNDm1pqoM8C0SJkZupZYiLa5vidE8Cu7n8Gq 6HFCvdZuKucGB9HepgSv1DTcOjHq27kDiTLuNdisja49LpSGM457T6dWQgoGWaoO+YdFzeZp8M2 B X-Gm-Gg: ASbGncvWGivZYT8R3rFc/I5EpOsCOauE1O1yzfli0365Ope5/S/A1VXPVqeG7NOplD6 BTvrqim8R6KoSgxOP3XXkn5IgbyiJbEbgKAVVpZjjl4CCU19Li8SOP0JYvGUK3cF2zjH0A0gqoK 3J85o5anuTSHaTtq+KEBuugVdUbCMqjGrtaR4zmeM46sTzkw4Mbhnwi+E9t3loRA9umk4khX3tg QfRh/+pAn1Yer9m1kVA754y1TN7l/mLBHZsSa9gEx/r35Fzw/4RWLcMGovbUAyQ X-Google-Smtp-Source: AGHT+IEjxE5JIr4I0Nm0OK3tkP2CuqAphMvXWSvP6WKojU0Rmwh9ouZ5/B23d8RiNZkCJxKI3XPBFQ== X-Received: by 2002:a2e:a99e:0:b0:302:25ef:813e with SMTP id 38308e7fff4ca-302544cd566mr44359121fa.32.1734337653638; Mon, 16 Dec 2024 00:27:33 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30344045342sm8543371fa.33.2024.12.16.00.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:27:32 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:27:24 +0200 Subject: [PATCH 3/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: <20241216-dpu-fix-catalog-v1-3-15bf0807dba1@linaro.org> References: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@linaro.org> In-Reply-To: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1147; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=yl0V5Ivn93jx2EQt5ftkkxVs5AyWzNRaoZkPTxOHYqg=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnX+RsNa4mfff9jlJCLVtKJCVNAAOA4sqhGhdPP ZRfeHjaZJ+JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ1/kbAAKCRCLPIo+Aiko 1R5xCACE0lAdnhvMx22yf+S5fY20DT3I1EtoBvnhHEJOC1FXew7rU/BZ53+LAzPkmEs3vZdnDNY kwdwQoGw0qrXMIHK2qbwCAZSSut3s25QfWa7Cd3b29i24/nLx0pptqs1uonxBtwyBQhDUKoF06c PEGk/tCs1wYqbPLvR+IDrWg6zK0OGSv9BQjZlQXRM6xBclFYVdXT/3j1tQbBS2HGjGYguN3wjRd 3c1jGeTe1y7RxmNPL2e4hVHgCvixm/CewFJlsh44yx2hI2WgEb7iQfukYQHmACnAa7K6v2oiMO0 WpfYKq+iVxIFsQE+pz4M0gvGMdsRFyoYjiJyxTp5ZWIdmUUz 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. Fixes: 05ae91d960fd ("drm/msm/dpu: enable DSPP support on SM8[12]50") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- 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 Mon Dec 16 08:27:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13909364 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 CDE83200BAE for ; Mon, 16 Dec 2024 08:27:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337659; cv=none; b=FbPA07WuVLKtfDnmY3uQ68p7t5k+cjVePef7HRMdlts4cLXhAFFr3G304xPqnWQfKUSFpLOBB6GDnpVWnxGrxI0NQA9bPEjVgFuoJfLHGP3FtpXW8nhvEabQoRn3QNGYGXcmGCp6wanUEwDy4EwsFg02pCWs9l1jjrA6MVsjSxk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337659; c=relaxed/simple; bh=bJyPESVKaUC+ChFiQF2ba+YGs7hcFzITyl26AyryJho=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BGGI6nAWqIk/a1hyQ0OyF0JQUFdPuFbQwL4KCac2/vwSi8Jc1H/+I/YRTgwE/GC2r3NgiGOdtLGBwt3QNsoyDxZ1JYK6FVlIUqKZp8d6yxmLwiGCrelrvCn8dcdN2iKMp17q1FhoSOqt7Mo0ZfBHvVHXO1I9UTFc03gswm7x8qg= 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=QAPBSvbd; arc=none smtp.client-ip=209.85.208.178 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="QAPBSvbd" Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-3022484d4e4so44031651fa.1 for ; Mon, 16 Dec 2024 00:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337656; x=1734942456; 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=EjeVcGMhalEWw9xcCqMUL7so98QwVZkPwRwD7ozFXS8=; b=QAPBSvbdMhzsmF0jQnzvfaaA1CV9YUQaGOwLDRzcOZ7QM6bG2g2QPI26qUqwB0swMT PC1BTTm97OdclY8kYWiuPwAWb7bfJXEX5DBylV/yXIOy98G9c5hIRYsBveGYVtBVTSaG UZsKHMyJPCwVJ01k7IsMWxIDGQly9OUuYnS1FcEDXaBo9L3DQm118aS+HmJXlP4YUe7t xl9I0fR1VzmP5RqcGhFCUVFknfSEeUIH+k9Slyn0iF6m2Kcwii8AH0xpKxiXPvqUJX7j PGf6ijLq3pLqdW7Faz0VNNMmjTua16sir7K/i4jUpPp8CwEOQHVR1Xpz1O6DLT2Orrfz Rdig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337656; x=1734942456; 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=EjeVcGMhalEWw9xcCqMUL7so98QwVZkPwRwD7ozFXS8=; b=l6VHTj3KEzCWZMt5xfoox0VEPUEVF7yrULAcTGXESgbXrwFWKOCdx00NYED1dJ1RGE +eY22A7hvgrsAF932Z2rxOTvJDNiuGF9hLgcGEpTJMh9qZjyc3T4pGc5/1Y8TWF/Eeu6 a+MpA7uSeFaP8wn4oA6JdHKwnYrfAKzItVcmX82W9ytV/tCOLK47yERtbCcqy5p0DgAP A9RcUDufUDnKNsN/H6qXRi/tFUaNoBWNzsO2I7Da4KF3mBgTRlShVWUIgfcvg6SnqCb/ BLrJnu4WeMqrcWSLRIsjHKiyCNIK2Xm7B9M9+LPMKkcGOgle57WaCn7rRvWNM4HANDCL XMRg== X-Forwarded-Encrypted: i=1; AJvYcCVid1xY4V4frUKA6Qy3ApO21GefHD/4vLmH/4SCOlAnD2RFsm3tNYATNtfHDlS0XsSaDnnhApu36qI7mhZe@vger.kernel.org X-Gm-Message-State: AOJu0YxN4FkT2GCe/dRfFXvWwKNNMokBZaFbA/H5Km/Vdr5FY/1fDaXs EWrto9HW7EDnpDVI7ypI0ehs85Ie+V4dv8pUke+LmZJCikB6xEf+vVoUGIg37xk= X-Gm-Gg: ASbGncvcikpShRuOWxauPv8J/hcL1tcyX32MUhHoB/VTUjqpVk86pH4lpLfNF/xRlHP gAYH7p1NwZe6Kn0QI5O6HRgJEsIf7yBxl+PXqfVGsdd0G6SGLRofSJ1e8A+8cEhO2YLOvxzIoPc YoQ4US3sw4gwcRoDZIxYbFvtiCZmjW8HqsXXt4IiVIIWHtMZFH0Abg9EzVdOQx8lPtpYU+bl5to RXoT384k0PYCYNk/DLLVPzQatndNEEKVXif9m5LOpkbolZq1Mv4AXQDH+ClPuvI X-Google-Smtp-Source: AGHT+IGaM+ZRb1OFrc1yp/HQm0eQzzmfQ0sLJ440wGVKdOn2/mFn3Nd/997hnnex+AYrS7uGr6kzuw== X-Received: by 2002:a05:651c:198e:b0:302:26ff:d0ca with SMTP id 38308e7fff4ca-302544233ebmr31569821fa.3.1734337655950; Mon, 16 Dec 2024 00:27:35 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30344045342sm8543371fa.33.2024.12.16.00.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:27:34 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:27:25 +0200 Subject: [PATCH 4/8] drm/msm/dpu: link DSPP_2/_3 blocks on SM8350 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241216-dpu-fix-catalog-v1-4-15bf0807dba1@linaro.org> References: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@linaro.org> In-Reply-To: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1139; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=bJyPESVKaUC+ChFiQF2ba+YGs7hcFzITyl26AyryJho=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnX+RsYj676nOMBUcWu0Fh7OCpAZdVSpsOyhgCY g8rKfv/T8aJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ1/kbAAKCRCLPIo+Aiko 1fHPB/9Ao9hXUP9x6qbAqEBuksJCbxQyxmcXfPawdhm1QBaFs+qx2p/0VL5mXxsIMBUTsyftJ6G dSrnR4ASCTdvqedczP2FEqlgSTBic6YfXSrVrOo+ItdlTr/VhRiLjteBhqB18AAf2ONl6jNi0Am Wn5+9BRKSJDMFmbCXWUUIB+/Kycn2oAzv9UNnT9/Aqu9M/W43FuLjVbq71NJZmXM1GKmY2Ls0hi fE1v7zBkd4g98r+/avL33ho1dqMHjK5JcmTWZpebpFdbaOW8Rd4CaqmiH80NSY0ZgaXde3Bt7Yu THMpfE2x0NdM3+G4NdLTbNPEhEoSs9w74OkEsDYNoTNMVSFp 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. Fixes: 0e91bcbb0016 ("drm/msm/dpu: Add SM8350 to hw catalog") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h index aced16e350daa1bf5d24078b2468b5095a40ce07..f7c08e89c882038aa658955ca1202bda3d928e80 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h @@ -162,6 +162,7 @@ static const struct dpu_lm_cfg sm8350_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 sm8350_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 Mon Dec 16 08:27:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13909365 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 2248F201016 for ; Mon, 16 Dec 2024 08:27:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337661; cv=none; b=MgeAWrCTONcFCl+FUUpJznn7t6/SU1y+5ltOIaKPd6TZIUUqO55eXO+/8X0z2M4/M3Aya/SnCYSzijb/kPOIOA8vETBTowNln5VpfrezKDChCdOBDdWeeijNWlAHeiawFGW7nwPjrWDw9xHcTdc4baYqr3bElg6Wv1wLPfv20Sw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337661; c=relaxed/simple; bh=1HhOvQdDTQpfgdgbG47ZEhiTKbhwKeluJd76grZHFQ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=j+/KKYl4leKP9piokHtXfTUbo/dE2LQbCLsDeU68Gdrl5N/8yh+mE0HlSuIB0LFPuqIbejmFEBCpKr6noTHmHdlyFniWZVlZ9T98W7AOis+RCoUe63Pz2sE709OyG5jl/xs27HOEi2V1Wb/XEFZUC6n96EOSwXYUVLTclNpUKQs= 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=lQC6EQ7W; arc=none smtp.client-ip=209.85.208.175 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="lQC6EQ7W" Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2ffa49f623cso48001561fa.1 for ; Mon, 16 Dec 2024 00:27:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337658; x=1734942458; 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=ZbJUsGouyvpdIwJ5KdGKXUaM1AeXWb7FKeLRpP8lHmo=; b=lQC6EQ7WTmDv4pp3LoMCu+ofO0TKhWmSwN/RzPYV0X5LNBtOt59JrgQ4RHDWcy8R+8 vZaJ8le42E4lwJZyjO5HQeh/Q7Tl/vU6aAzyMo8ZBpIWTeqgUP26J3WI1BR+y9kX/Hkp FGIOzuMXbfvA5ha/ASWPoX4/EWXwYbjZYt1VhJCM/Rjnb9inAhX7MZ8/bhmKZE7HIr+S qohJX4OYl5cLcjFSk8/X7xYJh42m4CReMZ0ZWNa824RbRKGEL0tize9BAI5cABj1/c9M WLe3FvoOh8xFY1yN7TVQ4mxiikLUuBvzVUpKSe9v1HE1iB5lZhpbNX6/9D4v14BFxu8B IQDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337658; x=1734942458; 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=ZbJUsGouyvpdIwJ5KdGKXUaM1AeXWb7FKeLRpP8lHmo=; b=xGO5Hw46vSdYswYW+mZQj/jgPxFV9ZCQ7JCrmd3Huduh8HFOr97JgqYpPjemdcg0av D1YEMHhPUknFk57q2MOaCivpJpHCXbHARzkUe37hJTIRkPYU1JFPVitUvRSUqK5ihKIX aJEQLnUqm9eFcIcMN6S49fGruVaRX0Ic07Or0CcejgC0rkHKPA6XtYDCmSapnp1Ag0jS Ea4F0FaLHDMNqvBcYaclyrtIn3hctZllm7QkZh2LAkCmRsWLgyU38zlz9qhFTBMoF0tF RjaxbOfwN97Qp6VQdHSQd69Urjy4/YCkPZ3zE2xVjlKwQKlJjrjHjxnOlddZ97oPqI/u 5HcQ== X-Forwarded-Encrypted: i=1; AJvYcCVzqR9e6M6hlOVw9IwRKE9DBwBp5qPu0KE2SrKS4Yx4SGPpNOXccrLC0izy/s9s+V5NIP9Wi7Jz/pyEVQl+@vger.kernel.org X-Gm-Message-State: AOJu0YyglCCFQ7YUb9rfQ1wshPsLBqg2q2kCNt77SBVfoL0y86rtEQEy PihWi1Z1x8bAQ1Zhcz+WZICMHa1IkMgspP8pA4e0g+M71O/toXKQuNEjhIY3dxU= X-Gm-Gg: ASbGncvCSGB13dPwkwy8fIlEjR2ebjmIR819oeJFyZUwOzEps8VH0WX3IHZrnSvyEb+ vB9rpRx2Zd/5ELJvqKmBiwIq1jSOizLj+jWMlWwEztF4Hqmx11BXo1U6grQff11bDZHtxOTQEwg Rw7e579Zi9lFi0K50+bjeSt8qUs1zL+WZeFHs3aJrYSyjf48/HMzSdsEvwTLC9DsR43IUNXwdOj 6QSgMFdSAkCaxOHqkGkxu6tZJer7WDSCNE9Hn8Exf0+uU0Al2Q8x4HFhJ3NCPe/ X-Google-Smtp-Source: AGHT+IE09YmVD4DRB6LYkgBX9GgTyicLTyLwxzWmsrV39R4MSiGMzGiG8tc7FZFrp00POVfsz/KMrQ== X-Received: by 2002:a2e:bc1a:0:b0:302:3610:a50f with SMTP id 38308e7fff4ca-302544ae74emr31223591fa.30.1734337658383; Mon, 16 Dec 2024 00:27:38 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30344045342sm8543371fa.33.2024.12.16.00.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:27:37 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:27:26 +0200 Subject: [PATCH 5/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: <20241216-dpu-fix-catalog-v1-5-15bf0807dba1@linaro.org> References: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@linaro.org> In-Reply-To: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1137; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=1HhOvQdDTQpfgdgbG47ZEhiTKbhwKeluJd76grZHFQ4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnX+Rs2FhUYx9q2yNDoYbhnSjaGb+un7b3T7HUG VoAKEcGX0iJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ1/kbAAKCRCLPIo+Aiko 1eZRB/4rtFczYnTmybdWYQxDY4DO9biNQKJsf8ktMkqNBxfoBOm6geGnYjdFg4JaRtD03g5YKl3 6UFn4R5as6rx8Zak+ZhimIcttpvhOUzURUykldcuGbs7WqYhaGp2qs2DlvqgiVQb2Z0KkNDMDeY QsdD+kpGHf+FnoV8HiCFJgrNJ95+Y3vKe0HgoHPA7NRy1eu3MUZ3DTpFwswhjuzoz/WIrviOUaB OT9Qb4erHsNqFFizJ7TgR+cPeXPik04uohYxBeKtt9K/hRMA9258n2yU7rZUYUPuICEzVyoZ7i5 JM67FnF5p5GaeujazKkpq2Vww/uULSfevN1y3671rWbyPXp2 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. Fixes: efcd0107727c ("drm/msm/dpu: add support for SM8550") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- 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 Mon Dec 16 08:27:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13909366 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 7530E2010E1 for ; Mon, 16 Dec 2024 08:27:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337664; cv=none; b=KQSIea+PmLN/U45+9UeALkutZxJxLQGGCiMz/0u+Zx1xavLYcwzefFzxezqWsyBrTn7/iDuJuK5NgrHVs74rIyQLkhQG28zmR+eNlEpRzyHkQ1fTKxWr2VGHqJmglu0B0i/CstRqnwXm9aVNe3+9TYnJf/rALghBn+oY1NQeGUc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337664; c=relaxed/simple; bh=3vj4siDBQO7f315YdNktE17SvgKgBr413yqy0N6ohvc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=c5kSIO3KrbgIZWtYiqYuutBJpjyT3d16Punf7d4l7PXpOxaDt/6UQHWCLTB2rL87Jj+Vltk87tzQcU9QRbnlTV/u/PFW1jddsFzbtz8oQeN5Y0/ApNWTnEfQN1m+fAWYG31gG6YM2oOBCUaEStCHtG9XR8NUlnliKRWFLFCHsBA= 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=eSzErFPa; arc=none smtp.client-ip=209.85.208.173 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="eSzErFPa" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-30039432861so44172211fa.2 for ; Mon, 16 Dec 2024 00:27:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337661; x=1734942461; 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=LNvaBXD6rf3EQuRmCg70rZ7MEJhSs632gKbKOrH7Zm8=; b=eSzErFPaUw8Bfvy3qmfczhU2zl3e1Wn51TVf3WTKNRMgVmHvjiRk4tVariinOCnNfq X4jSbqTDIl0YdY74IfgQ1yl1PwM00dnF5Lt5Gl3/XbIjSmT8L0GRohNYSOMeu476SVx6 seMkSmz4WkGT3B/6qhEk+JOnkfZjsFltEkh4zxecXsNBvQQ/R1FM15SjNZ7rvr9nSbXX k475Q9e2KN1A0U6AZNCxOgXZO03IYtxMf9ApiM07QvKlVFCrFLsD/14MmVDoc3pW02ye 4gP6KG0+8LmoWVy6c1T044XASVytt2CAV8WzXNjEYxtVzOsbXZMjuyNyqPSzQrfNlM9c F/UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337661; x=1734942461; 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=LNvaBXD6rf3EQuRmCg70rZ7MEJhSs632gKbKOrH7Zm8=; b=vFreacH6H/Qblb7VvGiqzy8tCTfIR7wWrcD03tzo2jANATUz5GDmGlFyVbZ+QGf5nU HN2ESBKtnFtf8q5RxPrOEJXRsT3HQ3Bp72E5NkGYE/YBFdXiBBOBlwFxGvcmK9xo6Qol qH2YOdqRybHDa3zYrE8ATE+OT0bX6Sq6DMv6QXG8Zh5vkjasXjX9RTIQ737WdtJN0whu +IiPyNM2r/BKJKf+ygiqFGGypofoYCfazfUIcLbl5UacOF0/YNC1FKT2d6rGKOYEZYL8 YdVKIDT9KJuKPGrRUcx/UujgSQPSN43obxWaFeBTV9x/OadGUVn2L8WIqUbu/JsWWrpV ArKQ== X-Forwarded-Encrypted: i=1; AJvYcCXHcExCTzoQ5qffAyr2WCodl7guVWSLuOR6K7lPnZOunnOKG+uYW3tD4ry72vIIUO3/iTpB8wFyiGtr8B0b@vger.kernel.org X-Gm-Message-State: AOJu0Yxlj0fj3nrBuvQnETuojQdQ/jtohXj3F0t9emArK5kZ1eiL0F6v IN/rH3oJ+4BT5Il/xmWV7ihxqcob2F8tmvcoWbJTGFP03NIw5QmTPZe+2kb3APo= X-Gm-Gg: ASbGncu0vmOQd6GHn0Il9im3jD+pBux4uLCHvSXNbJ+Be2Dh7xnFLJmY52F6v2yci2y Jdck03SBTjvb+hXHLL0MTSVTSW3R8ZcV8bwSQMoLxr3GefHd4naZ3swSIDY3bwYlBtNuSeoQ2rz s0OsXLNLp4E327RvyXTYEj+7WQZozpJ0uQnIzMFa3hOhCzMocOek9NpOu5YMpkw3fzRQY/r/o8N oHSLtNP0CHOQZj6wIXR1BXxQjWORL0Y+O+TtECPlSO9loFzWaRUoR6g9UklhCjY X-Google-Smtp-Source: AGHT+IFPKDhcXSU0UCTh/igp+MQWxIINBR6P0+8IXDlL++c5r9BUnSmEl0bO6pvB1WZJK4q3wU3VCQ== X-Received: by 2002:a2e:9d8f:0:b0:302:264e:29dd with SMTP id 38308e7fff4ca-302544d37bamr35796821fa.24.1734337660711; Mon, 16 Dec 2024 00:27:40 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30344045342sm8543371fa.33.2024.12.16.00.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:27:39 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:27:27 +0200 Subject: [PATCH 6/8] drm/msm/dpu: link DSPP_2/_3 blocks on SM8650 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241216-dpu-fix-catalog-v1-6-15bf0807dba1@linaro.org> References: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@linaro.org> In-Reply-To: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1146; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=3vj4siDBQO7f315YdNktE17SvgKgBr413yqy0N6ohvc=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnX+RsvFTxBZ9VJCMmml3J0WOzPS0ojzqlE8FEK RhPWnm5aU2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ1/kbAAKCRCLPIo+Aiko 1QSpB/0RNWf+SOymu2pMymtdPsFsrkyWTVAOo8hqG3wKYgwYnA+cLkN1U3hjojOStIB0O5rx1Ub AA6ze5HSaUFrTXAqcbWPuo2MoyojkWNGiTi/E5RTl9aht/VafStHh3jWX2+FqW66sCl9cB6ZJy6 XoroA0Iw6HouEimgf9nUHuN585Y9Yz4lfv/4ahiOdTXkIvhu2hQsFVu6D/HLu6h7X7RdbNro/wx g/sXvGBKaCoTITVZCQw/QPgldCKJbUKocpTNVwgHovUmo7e1vddHIGMqk8HPmvJ35cmEMs7gMA+ fPoL5pkcF8tX1j+aT7DohRZCLMNyHKiJj0lbiQRxRH/B5pqB 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. Fixes: b94747f7d8c7 ("drm/msm/dpu: add support for SM8650 DPU") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h index eb5dfff2ec4f48d793f9d83aafed592d0947f04b..e187e7b1cef1677261a5de7b01ea3fa8136723ac 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h @@ -160,6 +160,7 @@ static const struct dpu_lm_cfg sm8650_lm[] = { .sblk = &sdm845_lm_sblk, .lm_pair = LM_3, .pingpong = PINGPONG_2, + .dspp = DSPP_2, }, { .name = "lm_3", .id = LM_3, .base = 0x47000, .len = 0x400, @@ -167,6 +168,7 @@ static const struct dpu_lm_cfg sm8650_lm[] = { .sblk = &sdm845_lm_sblk, .lm_pair = LM_2, .pingpong = PINGPONG_3, + .dspp = DSPP_3, }, { .name = "lm_4", .id = LM_4, .base = 0x48000, .len = 0x400, From patchwork Mon Dec 16 08:27:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13909367 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 D99B2201268 for ; Mon, 16 Dec 2024 08:27:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337666; cv=none; b=EO/iLnLh1Fa61GMLBkzC+7hjZgpTUSrEHJlZ3SDsZjd7JAfB+w8yxMcP5oXtR2CjGOHZ4mnq08Qx+VXF+cNZ6JmUHpsNTPegHixFiFbaQS6ZYGnCOSpz27Hq7DCCF/96GGKb1djGsKpSdHym1hkKkfYDNlXCZQaV0KBxQTEzycM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337666; c=relaxed/simple; bh=0d6Vl9uKHPMWNXj1THwSQ8KfCjRZZOIXlKFBufG6ric=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T+wmBJkUtJ+MRCG+ha60bSScKtn5x8jSvPcbxHycALy8cVKOERMZuOukWpI3JPPWzX/4fZye5pGysfyCWzsjG6ed9QD03IeW7l2jXBD7Q1CsYWaEy08Qnkj7WTc1kZOO94s9JVuIPtkpkiHFG3iTMBuatmu8RDxhTfiRBKNtpBk= 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=rAQdI8rd; arc=none smtp.client-ip=209.85.208.169 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="rAQdI8rd" Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-3022c61557cso40456931fa.0 for ; Mon, 16 Dec 2024 00:27:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337663; x=1734942463; 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=w6iaR4XhdKUYvlNFXFyoX/pNn4cHsyDnjyLqjwDAVN4=; b=rAQdI8rduPVNRA0cjgdrZFOfqPhjypFg6KTdTC9zHU2cAIHJUROC5FlrsXeBr/5aCp QaWbggsCIpkuRqwREmFcVccTxVtZdwqSQkL2KG7Ens8mfmU8dCg21fSiY56MfSqUXGtt qhotPPlja41bYFodhQ8U8sPZjk1ZlqqrEpt2hAej48x7HBzUSDlNXEq0JsPJ2Cv648IA gqYI2rfbWSvohxcGkMde3473iqI/iGzebxrLW6r9/ntlAgBdFfzCQVZf2UiM7KycfyyZ YIsZstJzV5QXtHEviNthWOmVUod+tiE1pYHStpyXt+S4O7F9sgZTzXYO6CS6YVL4dCFw Oi7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337663; x=1734942463; 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=w6iaR4XhdKUYvlNFXFyoX/pNn4cHsyDnjyLqjwDAVN4=; b=B+umBYbojDmp0t0+ISiRv/GbsP6i5eTw4UvuRHI5dOWr4egrzCJYn6hlNcG77JN7es VbGHOA+tERXY8U8+dF3reEP8USnyOJzJC/sRZCjGkhseMDsBOQcFVc9tg2Yl9P652xmI 8PoOeH7ePr44WSElmADXuQWe3tYmqfglZXAXOfqOpAY+asJsotnrljPphFQlKGiE7YJ9 nQWjz3IW1qaeDBY1iWpidaaRjF8ffX+GRrg43SYko9Jzq+h6T93Z+FgZx3xZj1EPnzmT rEydA3uFkpqH9gL8kbxZ0TGx4+Nc/n1imIcP6fbbON3mDzSBUscuoh/tA+Dz5WdlQLa+ 1iPQ== X-Forwarded-Encrypted: i=1; AJvYcCXRZzYCxU4o+Vgk3qyzvGXd1B9cNvdPyrFEsIl0ImTaXg7UOen+CXgILptdFshl23BR0pgvio8vsXyKN0Ol@vger.kernel.org X-Gm-Message-State: AOJu0Yz1e09Or0KO8UY92Z/CQwOqBNvTerWho8FQuSghuoHamqdI+zbX 0d9CAb5o5HwK6q75MEshsZ4aGvBChZ2/pdxoLPu3tlKuhlNIfk7LZj7o454W3vk= X-Gm-Gg: ASbGncuUH8lzSpgzdbl9cBX4yNssgRVGWzV0oS2nkxkC+4CyzjtcZefcesqYatytF1f tuOq5vcYz236f7PcMWrWQtIzrSFsoc4NpSRbXBdOpZCTjIHO8QLvydyYSSTypekvy1Pd1yJuWc4 15bn9W+KvllMIAlQ1KBWsNsiaGZwliBrmhkwofVx67pAS4KPac3CM8AIBhSHNzsDvH3Gwoo6iLG nfYtntMW7Ie4lE4IuWtk5tc7Xqwx4ivFsyb+ll+EmDvT2JKfVwXzPwcBbGnjWu1 X-Google-Smtp-Source: AGHT+IEy+x7o2Lt7ybsRZe8ZBGCz8wMHfuQe/9Ykj81HF+ZPyzLz0xLLyDsY3vkjOuNJg6AH3N2zDg== X-Received: by 2002:a2e:a9a8:0:b0:2ff:8e69:77ef with SMTP id 38308e7fff4ca-302544230e1mr42812991fa.1.1734337663008; Mon, 16 Dec 2024 00:27:43 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30344045342sm8543371fa.33.2024.12.16.00.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:27:41 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:27:28 +0200 Subject: [PATCH 7/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: <20241216-dpu-fix-catalog-v1-7-15bf0807dba1@linaro.org> References: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@linaro.org> In-Reply-To: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1149; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=0d6Vl9uKHPMWNXj1THwSQ8KfCjRZZOIXlKFBufG6ric=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnX+RsCE00L5+s73vnKOb6ulTZZZO35mal3hBlU 0p3uqpReEmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ1/kbAAKCRCLPIo+Aiko 1V5+B/9pAJg0ZCTSwEwVzazpw8iop9xUL9QAUMhs88Vnbw7eF+Ky0nqKgZQOPcnp9duJ2KZd6ui Gy5oSC8vg5ghOaf6MZeZO4c56G2GEH7P5mrLyc0NWGhX7oetzAUeTeGbmicgRLBMrzpynqDEGu/ eDOJlyhNHdK94yeSjnwIEcve+5ZfFJZmaR/XywGLfDAoXizxGb5vLBwyfRnnnnfdk8qau3JNXUB HdcxyIvCCQg1HyU94uG0rGw5r/qUo+xYWM4BQzWu3xF1K6g4EKe0QTptys5QOkzJNzJ/MGSUzbR 9+xDb3ElV4sLX0QpcniZNzoD55SwhZzlv5M4vizm1nlTCp09 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. Fixes: e3b1f369db5a ("drm/msm/dpu: Add X1E80100 support") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- 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, From patchwork Mon Dec 16 08:27:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13909368 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 174A3202C30 for ; Mon, 16 Dec 2024 08:27:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337668; cv=none; b=AvXJs/3oZMAZ1OFrIVXUZGbv61b2n8x5LdqyNgPXlQGJzDGGwHq/Vt+ZTJn+EokjeWRPdQDg6+xY2YoruQbQ0w2gAKE/t47PKbIZDpk55YW3eMrjc/URS/MxB93dH3WDQb0OqtNEUaWD7o4lBBXzRN76PL8PrasFEAnehAb9VPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337668; c=relaxed/simple; bh=onC/sZOCceTmvl+85uTb+5rs4Fex+BwK8WACCKdIkwI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SxBbRrEupW697g/j3fZFk+9yvj38mr52pN2v16sNqoRlXM3ZzVRu8bHmPxLzc6v0jPxxN7RfDOu+VrETcnsfPd6nVI8X+jJ7Y/JVhb7soja5FLaTN6oqCJAHSsSj+cCV01dTMrMzTix3o+4XVJ6Ha/aaYO4DAJxdXqaHW8wkWZk= 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=ehPs5aAv; arc=none smtp.client-ip=209.85.208.181 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="ehPs5aAv" Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-30227ccf803so41984031fa.2 for ; Mon, 16 Dec 2024 00:27:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337665; x=1734942465; 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=jFueXj50GklXs26URhroJEyDlIZhDwWcbd/CoZUqrUk=; b=ehPs5aAvH2aAUZHR8Yf4J2NnCiDtk2wAoik3pm8Iipe4j3feqJly1gx8Qu4c14khla w3xJZBG91lnNJBCiAuC666pXE7E0rREANt4KCI9zT7NJfzyiR65pFwliR3ZNb8XEuHxP +jbKXlMkzSJt/2M8tS2K9ee4EpF+3NBJ8zo5v0/SWEaRjvAIaUdiqidMp7ce9BJPKBbo dDRC5lcKATInFlo6J5z+0rMBh8DbXtfGfvJ6iMWZiDlhwOUm3uWTIU6m7IlCNtluin0V DDUt3nFURfA6et0VNDgNiBAn6pLpPZJuQS9ZZ1jg6OoWpdLIgRkgrI95sX9CV2WqV7Mp HyNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337665; x=1734942465; 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=jFueXj50GklXs26URhroJEyDlIZhDwWcbd/CoZUqrUk=; b=SDnrDCdSUaMMld1fnd7UlyE3fxm8Xww1UU0MIFf9dVviQE667gUCCe0kx1ocy2uMjQ DPEspSMx+EvN1JegWkf1C69/z9de/+lqR0WEJSBCXqAGB3B4TwRnd0uEWG2zKPikFRoL baFmzYFa9D+AxXhhx6DZpw7JV72/LdmCAJU0JxzfNDPC6m8F3kBXMEHFkpt3cH5ronEq FGU/NJUcvcB5Eo2N584ONnY+iNI9NWZrUSAOCUMCkxvs8bmkzjU8T+ORMoFQnSf4oVnX Eio8jk8zjHrIH5CYfp3t7Pp3xUxQRqfuZDiMDe1hl4Hu+UmoVllpqgNHDimX37uR40Gg rolg== X-Forwarded-Encrypted: i=1; AJvYcCXFi9E6pY14NOWKHe4QH4mZwMVvNwqKbCjpEfYVe8FcNpo0edLxwRlRqs0rzlEYrG8v8jMy+77cHXiw6klO@vger.kernel.org X-Gm-Message-State: AOJu0Yz9ib8H3cRXrYn5IR+VcA70eu8Z7Twgv/i6sUA08ftuWNJ/AWeb m6JcB2eke2/UizeUs71gCaAjxSeUVFaXQN6gsY97/PQui/1kLK1isLzORITV/nI= X-Gm-Gg: ASbGnctlz3M0O34FH651eRKqe3WABKPkqFQgG7gLPZ+UyT4LMvU9pVE3iJPzSIfpcGu SEcTtWfbW37hVs15+Ya6YQXgvk+ev9oHgb++3iNK7I8lbfLslOhMtvGLoLzNUcYHS8XcmMfcP2g U94goyGhU456vZOEOOOIargyv6TN+dCt33T42WOSNHpInY03s9PxgfZOE1370z+m8HPz3TvbFSe krd3xNiDJ9PcSQN17i85LqTU1ZVNkhL3S76Gy6jf5s15uXVb4GlkezLvMt/hvzt X-Google-Smtp-Source: AGHT+IGsrhukEvweE+kATGZLKV7abTQp6BM2UyFHz+pdJV3ZnHx5w2xQCWTcZUPlJgEfT6lvq/IlrA== X-Received: by 2002:a05:651c:2122:b0:300:1de5:59e3 with SMTP id 38308e7fff4ca-30254521ed0mr38410041fa.2.1734337665329; Mon, 16 Dec 2024 00:27:45 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30344045342sm8543371fa.33.2024.12.16.00.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:27:44 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:27:29 +0200 Subject: [PATCH 8/8] drm/msm/dpu: provide DSPP and correct LM config for SDM670 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241216-dpu-fix-catalog-v1-8-15bf0807dba1@linaro.org> References: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@linaro.org> In-Reply-To: <20241216-dpu-fix-catalog-v1-0-15bf0807dba1@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2663; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=onC/sZOCceTmvl+85uTb+5rs4Fex+BwK8WACCKdIkwI=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnX+RstmAKkhUgDFSMOhulvZdpJWZcJyZTinijT 6Z1u7es4gqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ1/kbAAKCRCLPIo+Aiko 1aAOB/91xjMOv0FVK7azVd6PO2iTLH9oMN0HMJWRapBLHclS/S2HRw4THhS0ZTXl3SQWdRSKTzi wIF0W3NfZ7im9NKZR6BNny0YHjrC4g8ctYty0aFeoGiCyAKdHSzf3n0ws09fsYYKkpKTxpvF+pf +u1+U1KJN/2e8b3eUkzrdnVy1naigTtie8j7011s4SkhnbTbkF9QIn0ky4UqNxEaBzuCNuuLUVP xb+A22DDN96Y1ASkC+ta8ZI6TQR+qyUccvPAL4VKZOVLA8kHl1kNPqUNGLVncSzKoEvDeWa6mVG sOV3h9QmLI9X8KpCwJYjMA9uHtbm2rAZXondZBSxwraOMne/ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On SDM670 the DPU has two DSPP blocks compared to 4 DSPP blocks on SDM845. Currently SDM670 just reuses LMs and DSPPs from SDM845. Define platform-specific configuration for those blocks. Fixes: e140b7e496b7 ("drm/msm/dpu: Add hw revision 4.1 (SDM670)") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- .../gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h | 54 +++++++++++++++++++++- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h index cbbdaebe357ec4a82a3c3d950aa13792a1fb2d6e..daef07924886a529ee30349ae80375a324bbc245 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h @@ -65,6 +65,54 @@ static const struct dpu_sspp_cfg sdm670_sspp[] = { }, }; +static const struct dpu_lm_cfg sdm670_lm[] = { + { + .name = "lm_0", .id = LM_0, + .base = 0x44000, .len = 0x320, + .features = MIXER_SDM845_MASK, + .sblk = &sdm845_lm_sblk, + .lm_pair = LM_1, + .pingpong = PINGPONG_0, + .dspp = DSPP_0, + }, { + .name = "lm_1", .id = LM_1, + .base = 0x45000, .len = 0x320, + .features = MIXER_SDM845_MASK, + .sblk = &sdm845_lm_sblk, + .lm_pair = LM_0, + .pingpong = PINGPONG_1, + .dspp = DSPP_1, + }, { + .name = "lm_2", .id = LM_2, + .base = 0x46000, .len = 0x320, + .features = MIXER_SDM845_MASK, + .sblk = &sdm845_lm_sblk, + .lm_pair = LM_5, + .pingpong = PINGPONG_2, + }, { + .name = "lm_5", .id = LM_5, + .base = 0x49000, .len = 0x320, + .features = MIXER_SDM845_MASK, + .sblk = &sdm845_lm_sblk, + .lm_pair = LM_2, + .pingpong = PINGPONG_3, + }, +}; + +static const struct dpu_dspp_cfg sdm670_dspp[] = { + { + .name = "dspp_0", .id = DSPP_0, + .base = 0x54000, .len = 0x1800, + .features = DSPP_SC7180_MASK, + .sblk = &sdm845_dspp_sblk, + }, { + .name = "dspp_1", .id = DSPP_1, + .base = 0x56000, .len = 0x1800, + .features = DSPP_SC7180_MASK, + .sblk = &sdm845_dspp_sblk, + }, +}; + static const struct dpu_dsc_cfg sdm670_dsc[] = { { .name = "dsc_0", .id = DSC_0, @@ -88,8 +136,10 @@ const struct dpu_mdss_cfg dpu_sdm670_cfg = { .ctl = sdm845_ctl, .sspp_count = ARRAY_SIZE(sdm670_sspp), .sspp = sdm670_sspp, - .mixer_count = ARRAY_SIZE(sdm845_lm), - .mixer = sdm845_lm, + .mixer_count = ARRAY_SIZE(sdm670_lm), + .mixer = sdm670_lm, + .dspp_count = ARRAY_SIZE(sdm670_dspp), + .dspp = sdm670_dspp, .pingpong_count = ARRAY_SIZE(sdm845_pp), .pingpong = sdm845_pp, .dsc_count = ARRAY_SIZE(sdm670_dsc),