From patchwork Thu Sep 5 03:26:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13791661 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 BD98C145B27 for ; Thu, 5 Sep 2024 03:26:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725506780; cv=none; b=CTO9Odl119dy51F1nofeXyw0/opsyQlx9LnzMLaMjuwv4iIjHlyhK9eQr3mMrGzP47/oOutylaIUQvZfXjKBkgKVdKeDm1isPvN7LKngq7P1vwRkdT7kxqkzTSE++3nefLDbREq/DXoMNfqgsueyHVjijd2rVZT3kE4lJyZNu6Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725506780; c=relaxed/simple; bh=F9C+Oqk1Y88LBjszt+kJ0vjfDky4vE/BJ9fNTH+vsZM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bP5sQuqauqukkepXX3teGFJ8yYauZPHPkgJyKAR+7Do2rZgTzS85OPecBnUVVMwwFyj1H3+kQVViX+75L9wKfSRJduLhqS69Fj3p6vJG1Z4fpMi+i1yYsTQjxApSmH5g39yTcv48DOS+du/4z/WWHt0PbvXlVHe+WkwKlpuMIp8= 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=DXfXB1Fv; arc=none smtp.client-ip=209.85.208.182 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="DXfXB1Fv" Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2f401c20b56so12454491fa.0 for ; Wed, 04 Sep 2024 20:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725506777; x=1726111577; 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=YU8j84JZB809IcncSQWLx7Izd+21A+I9iJZxkqhYAfM=; b=DXfXB1Fv/CRJ9sxfUwXzofPa7qmpZ3m1w3e7EF9SXMslBx/g9/kMQkXzo+I92lIZQ9 oSdfjM2cje/buGIgB+ByVBH/Z8+eCx7eK3O05XXUYPfvUJhpez/+Okqmq//3DxgQzD+Y nIblF3WYRIyGDMMzpVu/owfVSYN2eo/5bqBxF5yZfsNX9c93RlrNrOTKlsngfPtA3PtC TOBklC2z/AwmEsjXIjeqnHc3gjWrRt5vodu4I3ToJ0amZPQmMyVd5xSAIeQF/l76SA3e T8xuTvs/cKTbnBAneEY9O8PQeUV4Unfy6bk38dv32Rynr0wkHt14QNbOqLoyxYdqYvUb p2wQ== 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=YU8j84JZB809IcncSQWLx7Izd+21A+I9iJZxkqhYAfM=; b=np8+DcFLsBQuw76bv7ou9YajJum9BknAtjYzzX4weiXFFHHHQrR/3UzJjFvsz6ZjL3 ZnsMjbeRSENbntN7TYSVhbfBMy5j7UT4bv8/FdnMzu4EBRWC8l+MvywFLjJVaGBEuMHF K+8LjTp3hZHLAdEMdMwBvx3ZhbG3UZ4Ob4G8/eUSBncZM4LdlJk9YSHEAnJyS45hzBFf JcRp4KbOXcBDGVh5HOtLGVMcgiKoxYp/p/n4snYukrnRpBUnmKwIMyawVpXVJ6NJssgF qmT803AvAkPm/4j31sMXVd5xcP9v9Nxnye2QlThIE+ZyOOLVZhd8dLM5xtSHRjaf2vLB crcQ== X-Gm-Message-State: AOJu0YxsNYIfxqgagmRHrd3QgqOBWVCxUoD+eTtlk3RuNcv6AEnCGB82 SJ8XqIXk8X7Rex3KoikNMDnJTs/0/RcZbEiCwL5PJbT4h8CXiragKrZq54moz/4= X-Google-Smtp-Source: AGHT+IGsEWNXC2f1c3D0I+zxRSTqAMuxXvpOEo91BcFHWNG5/aUwRnJA/fWQmf3Mdhco8AyTjrh9zw== X-Received: by 2002:a05:6512:1188:b0:52f:441:bdd6 with SMTP id 2adb3069b0e04-535674e7e79mr1533655e87.0.1725506776531; Wed, 04 Sep 2024 20:26:16 -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.15 (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:13 +0300 Subject: [PATCH 1/3] drm/msm/dpu: on SDM845 move DSPP_3 to LM_5 block Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240905-dpu-fix-sdm845-catalog-v1-1-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=1116; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=F9C+Oqk1Y88LBjszt+kJ0vjfDky4vE/BJ9fNTH+vsZM=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm2STW6BXa+LG+21cLphfZoxD9U8XBc0s/zxIHx DMxe6ZCcLCJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtkk1gAKCRCLPIo+Aiko 1WD1B/sERkzjfa0PtufXwoDP1wA9cOwPVuN3B1cfX80GzU4cgDDJM7bYvRJFk3bQDDYrHfaIBjz 37smnHdSIuQU4E5JKPFz93dYiXqozXYeuCBa+0TnYxGB55Hqn1WS21h/PLZWY2rLgHL0tHGcsCn WZtBoxTh+TbXooB/CaGb5rbFCBF0hLSIzzCS4NzuMzrTk1uads2oo+87hHNZYpFGs7JkuYS4G8e JCnuei9zRkTecd8AlcWT16hbXa7vFjJM+DprcEaAxSc1hSq2hZ5+t1vIoiqX2zlDVXwojGKiCV5 evZcaBtnsmpygJT8XRK2J1ImcrI81Pejvwl68qeMJ4jZHq4i X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On the SDM845 platform the DSPP_3 is used by the LM_5. Correct corresponding entries in the sdm845_lm array. Fixes: c72375172194 ("drm/msm/dpu/catalog: define DSPP blocks found on sdm845") Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7a23389a5732..59eeea3dd2e9 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 @@ -161,7 +161,6 @@ static const struct dpu_lm_cfg sdm845_lm[] = { .features = MIXER_SDM845_MASK, .sblk = &sdm845_lm_sblk, .pingpong = PINGPONG_NONE, - .dspp = DSPP_3, }, { .name = "lm_4", .id = LM_4, .base = 0x0, .len = 0x320, @@ -175,6 +174,7 @@ static const struct dpu_lm_cfg sdm845_lm[] = { .sblk = &sdm845_lm_sblk, .lm_pair = LM_2, .pingpong = PINGPONG_3, + .dspp = DSPP_3, }, }; 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: 13791663 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 8901B145B2D for ; Thu, 5 Sep 2024 03:26:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725506781; cv=none; b=c6YUYboCZHM/h92S5IHpZuY/VU7AccuIZWmkUItbYTQhkGRPDwNGSaaOtGuy6+pqSYthEkQGRSmterb4810AfdMzZD7UrHi89ouVf0R8iV7IoPGbPpWmvFStkRIRgDDvSo0+zrXyIMnh1hjmqrFEcrriRG0gyF6QYr3QkGgFn7U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725506781; c=relaxed/simple; bh=y3ucrmUxDNZOI4nUsv8gjzz+ts2FHFe8wotadhtRUnQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QRXNbV0HUj/6ndbQfQU90T+as5jTdPNDI0MrcWGJM+lkSEFvwPb84IQCjlw8mHcGMHpS0Nb7VNqmHZUW/w9dZMKBjZxIpQ5eXF3hdfTKc9p/7Yktuttv2+rfQiND+dXEalmr9knHvsGmA3+IdJWlj++a5DXs0BmS9BONddLI4TI= 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=hcz7ahpt; arc=none smtp.client-ip=209.85.167.46 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="hcz7ahpt" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-53653682246so136055e87.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=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=HXkbUeL6IBm1wfBjjD3+Jqzr9VFTIqcKeiflyied+rY=; b=hcz7ahptxa6eD3Fz2duRCUvKgRjaXKaHecNue7jFfhTgqwSa1un+qgJfgKzdwUMMd+ M0DfeuEgolF0p3M2S4/11jOiuymUWfPgY+Tnnhl5ojOqM1Ls1qmrXaVaWhLZR78pfnWe BUsxX5+JF7iZYwfN4uyHPI3MbcWAvWS2ssLUZVv/LW1tO3DNPeco3qlOpNna9LFhT/gZ 13YXLUldQSKGN1oYYbPmsyDB5CWgV8I7qf0ECtG5uj4AjyZcAwXXbzh/Ug96coeK55VJ wxyzlXOfc/IdSjELsxCPl4VDjoXsnK13AsLI6VHOC2J+ARZ1RFZhAMsKbpTQTmzjr+Vj 8KuQ== 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=SkugQ/W9LeRtMsD46oK6m+43yRQIVjTSMf7Ej3KpCjpBJNv5HasSbf5LbuLTW6loDb XgqDxGQDM0M97o/w6NEs2Q/Wih3TVxGhZzkaZB3oecQSCtPqY9+vL3RfvZTYLIgLlxKo SUmHmhhHGw2JYsLr7H8Sfzwt6EdJ9Gt2ArTEwAnHHmxw5hL+0B23uX778WTX5eRo//fO AxtjvpsSEyz8j0SyhoEkNQZn6f1JjgbRtNG3/FQgQxa/LSJBsmTe1kQd1V5tiyIadwfL rGj3ORtsATR6oddte161zzkZ89irAKgdDCwp8SLvZsAXJukC5qqQyh1uu2ZTVWqkGhJi UTJA== X-Gm-Message-State: AOJu0YzqO8QoiD9FUZTFTcmIgnqA22AipubQ2zVTSGn9sYqjwkas6X0B cfZLX7Chtd10nCXZaaqwCwO9b/cQQbtZzUmKrNoh/j+EouchXaCHQR836bu/cp8= 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 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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, From patchwork Thu Sep 5 03:26:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13791664 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 373F8146A68 for ; Thu, 5 Sep 2024 03:26:20 +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=1725506781; cv=none; b=JqWOJfFPrsVAyikgdPgD7qjdTdAzhqumRPLCYq9XKjDTjYTH/WJ5Q+jnzGFjWgQtlEwDr0RPRDobI2oqLFf2v/fsDxR49VvMDf1Z3dKGIWYFE5E1yW25K8NOFQ8tMbAo4yJQMsMX8W4KbkoKM14D9DC+FYu8U7duvSn42lg4jaQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725506781; c=relaxed/simple; bh=KnnNbGZkukvbhdJ4+vjUC7nnvFSR94+qavRX0iu+euY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=slXoofKxTWGJlB9FnQQrUBRyh47SfWrdF6pR6yZgFEeRK6RZCJeNcWnEL7d8FLqvS3svq2fwzs4/ZTh2Asaqdzj3Fd7HmurwmzFtFj9cDRgUHMx2cf2/KOUJa62xPkb+1selJ0GL17SZ6oyKIOcwpXziVE276Rnq4LbDATXg6yU= 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=jzDtOzUd; 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="jzDtOzUd" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-535be093a43so261610e87.3 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=1725506778; x=1726111578; 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=dMVe3dV+riSJbx0XmpXNkjqyIshg14e/HbhXiq4bN9I=; b=jzDtOzUdUP6t7++D08ksVaTQYh5hMe1x5ijVzz3/cwNWAmoRbxkClSvjhRQ0dbMUBd L9A1CM2EJZMFc5pqVbDaCIUYKMHKPLBfsAPlJz91I9E7rY4CkHSvD8H9RM0Plt/I/2R+ rAVK5wkASGDICo+ZoMp8lSNvRE8Dm+WIag4fBohnvd53TAkV1RYOHCAVsl6dD9avDig3 T3t5d9JwXzzWnnOXe+TtRTb8pdY38+wz+sGLKo0JTbQ+l1fqNV7QY9DuSWuaSwUgHYli LnG99mveuj1M+WkDj1m5SUTEsafWmyMHCW9xKfuuQ27osQtTQXkV8VOpP8eyH2LQGPQU NwXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725506778; x=1726111578; 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=dMVe3dV+riSJbx0XmpXNkjqyIshg14e/HbhXiq4bN9I=; b=Jg3k5b/qSWNhW/+/ZhGcaCAeg1Ab7GYavnIs4UY/lGZ+VQA0two7veYJARUf83K5+F PllNbX9609Nmbtk7pPLlaF1y6q1ZV4jwsjilhCxI/ffXfBti4lBwDiDjj5pkPRmFptnS IB1L1d6/3QZLBykrYv09BYMB9RwKSRH0mR8/0xC7TJ0OYE/STC0sYFZU4ruT8jBO/j1n UeoyTZbiWkoXqFY7uaMbsZc/EWrSbga0WFlr2HGpJ4oSUHpb+jt0VHasQOtiZNpTf/wN X0PiRFxvfEN77UI3riUuS6PiT6RQpPGmq6PHTFAhcGclOnZATtR65L2uWcFPbgIasKYC kiDg== X-Gm-Message-State: AOJu0YxW1LIH1FlKuiyXAz11B1If3dtjE+XOBssOMd24KSqrAzGyP7uR JL8HsD8ryb4m+w8ASc7DqheqzAxejM6Ux00uBAc/rvUwUG5zJ00gwHnFumgHqgE= X-Google-Smtp-Source: AGHT+IE+acS5vwCPZFfqy48BFrmCtYX0ql9IXQeheRpZrwQ/SpmPQiQYu7G/Vy0git+9k2kOjN0YnA== X-Received: by 2002:a05:6512:3d24:b0:52e:a68a:6076 with SMTP id 2adb3069b0e04-53546bb4d0fmr14476272e87.49.1725506778081; Wed, 04 Sep 2024 20:26:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2024 20:26:17 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 05 Sep 2024 06:26:15 +0300 Subject: [PATCH 3/3] drm/msm/dpu: drop LM_3 / LM_4 on MSM8998 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240905-dpu-fix-sdm845-catalog-v1-3-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=1277; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=KnnNbGZkukvbhdJ4+vjUC7nnvFSR94+qavRX0iu+euY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm2STWnttq8+i1NuRxG0sRjN+Pu4vbmRCduSOT5 PdTVOSI9cuJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtkk1gAKCRCLPIo+Aiko 1Y0ACACbYLNDW/4i+2oZ6R8wbt8nuCMVXDGVTRy41HFmR9wJLSiqYXZdU88wXVZUoVToIy3ZnzQ MB2/Y7veEbRQQm+4ZuOLZh/+kALsNMc/GGZPH/pkBJAXCp5isa87fYxWtg35rn7kjsni0F1DSol OO+Xs35CudYnkNtVxbxez+/Dw3OIba3jpCNngWHkE9ADO3lZBE+nOTE1xoVZfc4TAHmhZrJyeTv ntEcJmCYKGwKlgwFGXe/4aBNf9ZlvjvLz+XcBzEOfiMF6lhCqVjk68btl48xGZp/S/MTs1uJFW1 E4ma7P6ds374GzuyyttRXUcK2LCw+3cSZOP1b2vakxWtDkSL X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On the MSM8998 platform ther are no LM_3 and LM_4 blocks. Drop them from the MSM8998 catalog. Fixes: 94391a14fc27 ("drm/msm/dpu1: Add MSM8998 to hw catalog") Reported-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h index 1d3e9666c741..64c94e919a69 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h @@ -156,18 +156,6 @@ static const struct dpu_lm_cfg msm8998_lm[] = { .sblk = &msm8998_lm_sblk, .lm_pair = LM_5, .pingpong = PINGPONG_2, - }, { - .name = "lm_3", .id = LM_3, - .base = 0x47000, .len = 0x320, - .features = MIXER_MSM8998_MASK, - .sblk = &msm8998_lm_sblk, - .pingpong = PINGPONG_NONE, - }, { - .name = "lm_4", .id = LM_4, - .base = 0x48000, .len = 0x320, - .features = MIXER_MSM8998_MASK, - .sblk = &msm8998_lm_sblk, - .pingpong = PINGPONG_NONE, }, { .name = "lm_5", .id = LM_5, .base = 0x49000, .len = 0x320,