From patchwork Thu Sep 5 03:26:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13791667 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 9CA60CD4F4E for ; Thu, 5 Sep 2024 03:26:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A6C3310E64E; Thu, 5 Sep 2024 03:26:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="HZGnA+Yc"; dkim-atps=neutral Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8445A10E627 for ; Thu, 5 Sep 2024 03:26:19 +0000 (UTC) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-53653682246so136053e87.1 for ; Wed, 04 Sep 2024 20:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725506777; x=1726111577; 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=HXkbUeL6IBm1wfBjjD3+Jqzr9VFTIqcKeiflyied+rY=; b=HZGnA+YcQbvsqRTX5WGqzVrW7TrA8VCG9kJkZWZvPM6uDAiP6uFB/e3QmXAolsAxZf 9G+K6KkfmS1Cw4tDut3kSGegSzDvGYoXEeyEoNJlnek9RxOG5Z8cMvYfbZTj/KEkEfM1 PK+rb3/xY7KH96Ubr8o6bO/Vyi575we5adb5nMw3fAciPUC64KrPIvm26haJiSSihtg/ nzHJXsJfr37wAmH22u+VGvkYJEwY02nZiIX8pYZGuxKxxRbwYGk9kaAjwlf70Dj0yXZa bC5WSwR5WTOsSzm+UObORYP2LrGjvsBtTfDSB7MVsmkSywDt2XxjaaHC0fzPuzMEJNwq hHSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725506777; x=1726111577; 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=HXkbUeL6IBm1wfBjjD3+Jqzr9VFTIqcKeiflyied+rY=; b=XNEzyX2Zpn6SdFv9jegA4d2pxFtd9v+NlB4DA97xlPve092/SY5oiDpAWNX69v9hON wzZvU4wAAHWvZybqYiOR3lr0+XamfYm4lJMOCzWxKZ25DL27pLIJshBb+QilSuSWc+1+ Tl6pzzTxzl4KAgdEHJ+WEcPw27BcHAYPSbRYeRsc9ZXEJnqb/GeMTNtZ3GzqpdQ4wP4N ujlGCHFEQDdTCQbVRqKoJDUA12glSv5N0lUKwbS8jfg/rnyPAc7sBX2ovzeSz2qbd1Ck g7JqfqHbkeOx5bPgcDLPCVeKcbGIG9wtHITnA+BfWZtui86o9dY1T5Ot6pRVl3dBxWX3 qQyA== X-Forwarded-Encrypted: i=1; AJvYcCV50UAlIZnbuVab+QRN/0yBy1plwDYA0aX0OsuE+KxS2RvujpDRmrfKf2+bFSfMTzkFc3RFN6xW4y8=@lists.freedesktop.org X-Gm-Message-State: AOJu0YwE64NO72oP17QZWApiiAIhkoWHt0tho1dFonqHHj6aok8dMTT1 11F9lsc1egCyIM5TNwlz5vVM00r453rXEKABtQOgRbTwFkq9tMnZ5Fzkiwi0kBI= X-Google-Smtp-Source: AGHT+IFMkHsMnMLWdT1fhzzdQZpoQBpRVkz8r8+V5KRN0VXmkFhO+BW4y2FQh7cEClInnZi740RvbA== X-Received: by 2002:a05:6512:1395:b0:52e:74f5:d13 with SMTP id 2adb3069b0e04-53546b33317mr13331248e87.30.1725506777322; Wed, 04 Sep 2024 20:26:17 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53540841a3csm2533860e87.226.2024.09.04.20.26.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2024 20:26:16 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 05 Sep 2024 06:26:14 +0300 Subject: [PATCH 2/3] drm/msm/dpu: drop LM_3 / LM_4 on SDM845 MIME-Version: 1.0 Message-Id: <20240905-dpu-fix-sdm845-catalog-v1-2-3363d03998bd@linaro.org> References: <20240905-dpu-fix-sdm845-catalog-v1-0-3363d03998bd@linaro.org> In-Reply-To: <20240905-dpu-fix-sdm845-catalog-v1-0-3363d03998bd@linaro.org> To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Sumit Semwal , Sravanthi Kollukuduru , Rajesh Yadav , Archit Taneja , Jami Kettunen , AngeloGioacchino Del Regno Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jeykumar Sankaran , Chandan Uddaraju X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1183; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=y3ucrmUxDNZOI4nUsv8gjzz+ts2FHFe8wotadhtRUnQ=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm2STW20N3JEPm4IfZde4z+mefw49r+VBcRWLuR d3caRDz19uJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtkk1gAKCRCLPIo+Aiko 1amSCACy4WnuagqHhLhtVUcRjFzx4e6xhzfd0pzurnwJcXaBkI+erzRSKHqlcjdYP/agBGblehI yxt4Ecpq9NZRFIO2ZwD0K9EhoBhUQmjYNO+XtEX677quTRV3v5Phh1RJk/+PajLYo+XWCO1fP8T JjcwNJdezEZ58bFMoObKhzx8jp4Gx0Y99gv6nL+amo2dxPsAHPT9yuDHVK+jR85QNio3TGNG/yl WNWE8BgOc1FstLs6qYjnYms+JBmNfwMqmxp8F0jHReXkSLvmZs9rvLdbrH2tVxuh2IcnIf9Cp07 c12CP36gN8p+pWot/Ca0cNGE11l71XHwNMxzeBaN79F1qZ5F 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" On the SDM845 platform ther are no LM_3 and LM_4 blocks. Drop them from the SDM845 catalog. Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h index 59eeea3dd2e9..72bd4f7e9e50 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h @@ -155,18 +155,6 @@ static const struct dpu_lm_cfg sdm845_lm[] = { .lm_pair = LM_5, .pingpong = PINGPONG_2, .dspp = DSPP_2, - }, { - .name = "lm_3", .id = LM_3, - .base = 0x0, .len = 0x320, - .features = MIXER_SDM845_MASK, - .sblk = &sdm845_lm_sblk, - .pingpong = PINGPONG_NONE, - }, { - .name = "lm_4", .id = LM_4, - .base = 0x0, .len = 0x320, - .features = MIXER_SDM845_MASK, - .sblk = &sdm845_lm_sblk, - .pingpong = PINGPONG_NONE, }, { .name = "lm_5", .id = LM_5, .base = 0x49000, .len = 0x320,