From patchwork Mon Dec 16 08:20: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: 13909357 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 7C0081F7557 for ; Mon, 16 Dec 2024 08:20:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337244; cv=none; b=ZWiWVzYMmBHJVJAOS/Kr9CZirtNe2TDms7L2i/8m0Zt0SqdJ1TVYZy3TrxtKKcsDbKJ+nxOYhgL1h7JV9Sye264y1pQHpONsmTOt915NthJPBQ5+eVb5V1MC2kPD8jOPq3DhwrWa7GvTrKDxHgNoPDsscqQ9eLoUZ4f7FeqHXlk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734337244; c=relaxed/simple; bh=uUJA3/TZsxZSLGQ3iJa9Q98/lgULeCMhq5QBKWADGSU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=BgI0esoGfyufEgyKpTo3GBHT6wylC4xoXd3K6ytH9J/vqgtTshpMiQyipX2rJpNZaUYIoYMVGv+kLf323p3muHpDFml7+VQDRbs8bouqDOXwpj07jhr7D2AH5tgS6QHAkaiOkbOyjtRls6m4j2EQoSEowz1IB1vhE9fhp/gkWEA= 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=wA4ijqrn; arc=none smtp.client-ip=209.85.167.44 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="wA4ijqrn" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-53e3778bffdso4036994e87.0 for ; Mon, 16 Dec 2024 00:20:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734337240; x=1734942040; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=YbfXvKOjtQu6oW6OVlC1iMgsVrQx7zWveYPYCO9K2UI=; b=wA4ijqrnIDYOFDhxWEpBqi4+C8fNH48q0kY1nlSKzHIc2smkP594WO8yhaNWmKyN4l md3KHA7q4m3RIkRiyQINIlkdTrZLL1lhXYtA63Wr9iUCEPkTFUSwkphs119zdxnGi84W jvosWCDM1bHOLkXGf/0GCuLDzqMb2rKO6vGx6bY1OfVsDuFLMJzPt1zChCL+0eED4IUW oxZcg18Bg+1hLjFuUK5J0L91fSfi5APHq/WyaonMS1u3SiwyfwnZaZmxg8tY8TXhaINI U67+Qb5/205pCApembYQETv3/tGGHpD3PzaWntwKxbIEtPi5KexuZQ2tDEb6Qj5kremx GAUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734337240; x=1734942040; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YbfXvKOjtQu6oW6OVlC1iMgsVrQx7zWveYPYCO9K2UI=; b=GPRZ99IgRXLKkweusOLr/6GTF2OnrDWCaSAyMsComSsuAuunh9MjjH94CuNaklKido 4o7HwvWD+ohe6pMNc7r67FBF27RRjVNhXkPgfKcVDUzyeGS1jxOYzArLgYXG9jEty7uW orWeJJQfGwj0tXzjFBzAfpuD2lTsEznQW1ZA2PIHxmSNOZdFgNRl4nAUEkuWbBtwgXza iGyIb7ib1jdpYjnWNLaAMsXbEpq5WPqKW54EtkM4zI9vqZcdolVDmREzrApZzOPPyoO+ wCrTB68NzdzdL4KT100LfMzoCD7tATZ1KYQPvh5XSaP/nr5pjhbU1DfD+Xgis9sGgvwb vG2w== X-Forwarded-Encrypted: i=1; AJvYcCVQwix6qE3hCnZl/NDa+U6r3YuzNAlGlQr2gALck5bTNJTJu+eOFNCyZmqGSu7rreN5yPJd/0wsJaYWDoc0@vger.kernel.org X-Gm-Message-State: AOJu0Yyhbx8TqzzttCMGk6fbw1ZfG7qcHJXMBfHd4aIVZuL/aXV1NE3A SHnPNWksQWE3aUHpkqJAJODJ0hzbl+DJY3dncZy88MlOhOq60SvwASOBHOUMQ0c= X-Gm-Gg: ASbGncuNei3Ke8e6HbbUp0c8QNIJlzgK97a2Aqb/MKnH+N241fkFg6KEBgZZpkOryEm h9Nff9PLHDHfr7FbwGrLNZdRlm105MQ7DH+cYYjbPxgHfKno3PXrj38A+XJ6mdIRtDdD7535C5v 0uTXqFNbz5e6hYKblgDjZ6HDFHIcy+W30TclAXrX9gWAfq7aD2B4fLUOMehKkD8SpNlXT57E5JB 6ztH/8D746Hcbz6FeVTEjH2Yhtnu3Dz4O+m62mRsc02FBSkmHcwxtHT/Yhd/IjT X-Google-Smtp-Source: AGHT+IGzenR2jl87nMf97W1enF+uDtS5ypA2j8yTcUnPoV9iEHOCI2uxIt76PAu02Tox+YY54Iz5kg== X-Received: by 2002:a05:6512:3dac:b0:53e:39f0:4bbd with SMTP id 2adb3069b0e04-5409054e4a5mr2594490e87.21.1734337239738; Mon, 16 Dec 2024 00:20:39 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54120c137e5sm754516e87.184.2024.12.16.00.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 00:20:38 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 16 Dec 2024 10:20:36 +0200 Subject: [PATCH] drm/msm/dpu: correct LM pairing for SM6150 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-sm6150-v1-1-9fd7ce2ff606@linaro.org> X-B4-Tracking: v=1; b=H4sIANPiX2cC/x2MywqAIBAAf0X23IJr734lOkSutYcslCKQ/j3pO AwzCSIH4QiDShD4liiHz0CFgmWb/cooNjMYbSoy1KA9L3TyYNwbqjVS63Rb9q5zrCFHZ+Bs/+E 4ve8H2Rd72WAAAAA= X-Change-ID: 20241216-dpu-fix-sm6150-17f0739f8fe0 To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter Cc: Li Liu , Fange Zhang , 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=1469; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=uUJA3/TZsxZSLGQ3iJa9Q98/lgULeCMhq5QBKWADGSU=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnX+LV2CEVo6lAAyY1ot+m4rawCBEiNbmKI0V0H +juU3EvY9iJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ1/i1QAKCRCLPIo+Aiko 1ZGXB/9aO6ZYG+gIxJb5oe7hQ1dXAs82EbfevXvtGTdQVCnxun+PDjw8B1Aui2HOARJcXI++Tvs Mrb4cmy3DvJu36eTg8diFOjJAOMa7gEfLZe3RsMsilSkGjVti/XpkQ83zgspXFA0kDwHaIMSppa qulF6sCTzWjzG3V75X/ezks+tZjzi2xF1QiGJ1WHFdsohZYOZEaG89/SoORUguCDm0gHKWT8l8j Oek+oRlCB/h4b23/7VnSw2zWwZ0lY/5mT830UlmwNbtHQTtPoqiz5k9Ykda4M5rFRX1wWnBlWzR j3YvhI65dGIlbxHx83z/SV1ncEyeME5+srWX5L1yhgODf1rB X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A According to the vendor devicetree on SM6150 LM_0 is paired with LM_2 rather than LM_1. Correct pairing indices. Fixes: cb2f9144693b ("drm/msm/dpu: Add SM6150 support") Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- base-commit: a3d570eace66b4016f2692a6f1045742ee70c6b1 change-id: 20241216-dpu-fix-sm6150-17f0739f8fe0 Best regards, diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h index 621a2140f675fa28b3a7fcd8573e59b306cd6832..81eb274cc7000a3b70b0f6650088ddcd24648eab 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h @@ -116,20 +116,20 @@ static const struct dpu_lm_cfg sm6150_lm[] = { .sblk = &sdm845_lm_sblk, .pingpong = PINGPONG_0, .dspp = DSPP_0, - .lm_pair = LM_1, + .lm_pair = LM_2, }, { .name = "lm_1", .id = LM_1, .base = 0x45000, .len = 0x320, .features = MIXER_QCM2290_MASK, .sblk = &sdm845_lm_sblk, .pingpong = PINGPONG_1, - .lm_pair = LM_0, }, { .name = "lm_2", .id = LM_2, .base = 0x46000, .len = 0x320, .features = MIXER_QCM2290_MASK, .sblk = &sdm845_lm_sblk, .pingpong = PINGPONG_2, + .lm_pair = LM_0, }, };