From nobody Sun Feb 8 16:12:52 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8911C2BE7DD; Tue, 27 Jan 2026 10:59:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769511540; cv=none; b=LOyD5OkjV0ZInDB7z0BhJDgbeOTc79pOkWLCL+Sj9OUjG8D3qbHduLtP37SPWBQvsCY9aAcgkVeKZ6/nKxJMXJg00Vlj+yujIyCdX4gF+gQuz14zDPMwYTkOY2ZBEepQwvIodwrL+IgBLSPTqQs7n7x5FK+jUf+elDwbNme+HcQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769511540; c=relaxed/simple; bh=0i2nH7Z+Jm/vbR+qFCnPX1IGIFt8Sm49hrVD9er0bwQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=dIQxIG5MC+h1ZhT78BIEcYcmG48e4iKLqioSm9oL8ReN9xtJu0N32y0nOHQD/1a23poQX3FjsBB2n1OkCSYqF8/gGZsL8vhmuik3B3PPehbck5KnCa11LkLpJ1YjmG/ttNBW6rMupv7/w0l0PzGoyQI1DBNyNr6gR+oKPoEXK+I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ngkREVgu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ngkREVgu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4E71C116C6; Tue, 27 Jan 2026 10:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769511540; bh=0i2nH7Z+Jm/vbR+qFCnPX1IGIFt8Sm49hrVD9er0bwQ=; h=From:Date:Subject:To:Cc:From; b=ngkREVguznNQxpEPFD7I0KcA64CARW4APVYOrDA020nRlXk/HW0az/2EPEQqWDEux d5C0cAwJIyDDDr7YJa27ybtyal57cyJ4oKbNQD0n2sW7ryYEUc81TiCN9O4eCW7ME2 C0XkBjgQSKBcyUrjBeytEo/tMX1sIE6KyMxx6zR6E4OUnfhmSRvY73tjUo736SWZsN SXeGFpu6ju723AnyxQLhZfap4I1fTTo2+tSv951LiR58jBNPgjvWWjRBUGbhIKT3/9 vlqtZW1BkZDwkzt6vUXfd6BKqi0uB2tc8w/4OfXqlpgfIxURIIBVRejho6szKir08e mqRziSvZOiCOw== From: Konrad Dybcio Date: Tue, 27 Jan 2026 11:58:49 +0100 Subject: [PATCH] drm/msm/dpu: Fix LM size on a number of platforms Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260127-topic-lm_size_fix-v1-1-25f88d014dfd@oss.qualcomm.com> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/x2MWwqAIBAAryL7naB+2OMqEVK61UJZaEQk3j3pc wZmEkQMhBE6liDgTZEOX0BWDOw6+gU5ucKghNJCqppfx0mWb7uJ9KKZ6eFOo1VCT41zLZTuDFj 0/+yHnD8UlASrYwAAAA== X-Change-ID: 20260127-topic-lm_size_fix-d6ec206b8dd9 To: Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Abel Vesa , Bjorn Andersson , Kuogee Hsieh , Neil Armstrong , Konrad Dybcio , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1769511535; l=11008; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=XB73+kA+RbsS6hWgZGE1XQzO2Ccd74+TrD3sPEdK+pQ=; b=oJ9UZ6Twim06vzNiQ8eGdESflArxxuxfEv69tO04jYL6MZM+QAdbKPLi4JTsmhJEyqNr5erBl sgqgLmIiHS+ARHk1KgXmLsSAoRFwKw5hBSqsaQ7CVIJTjg5qq2Te8SB X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio The register space has grown with what seems to be DPU8. Bump up the .len to match. Fixes: e3b1f369db5a ("drm/msm/dpu: Add X1E80100 support") Fixes: 4a352c2fc15a ("drm/msm/dpu: Introduce SC8280XP") Fixes: efcd0107727c ("drm/msm/dpu: add support for SM8550") Fixes: 100d7ef6995d ("drm/msm/dpu: add support for SM8450") Fixes: 178575173472 ("drm/msm/dpu: add catalog entry for SAR2130P") Signed-off-by: Konrad Dybcio Reviewed-by: Abel Vesa Reviewed-by: Dmitry Baryshkov --- compile-tested only --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 12 ++++++------ drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 12 ++++++------ drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 12 ++++++------ drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_1_sar2130p.h | 12 ++++++------ drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 12 ++++++------ 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h b/dri= vers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h index 303d33dc7783..9f2bceca1789 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h @@ -133,7 +133,7 @@ static const struct dpu_sspp_cfg sc8280xp_sspp[] =3D { static const struct dpu_lm_cfg sc8280xp_lm[] =3D { { .name =3D "lm_0", .id =3D LM_0, - .base =3D 0x44000, .len =3D 0x320, + .base =3D 0x44000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_1, @@ -141,7 +141,7 @@ static const struct dpu_lm_cfg sc8280xp_lm[] =3D { .dspp =3D DSPP_0, }, { .name =3D "lm_1", .id =3D LM_1, - .base =3D 0x45000, .len =3D 0x320, + .base =3D 0x45000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_0, @@ -149,7 +149,7 @@ static const struct dpu_lm_cfg sc8280xp_lm[] =3D { .dspp =3D DSPP_1, }, { .name =3D "lm_2", .id =3D LM_2, - .base =3D 0x46000, .len =3D 0x320, + .base =3D 0x46000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_3, @@ -157,7 +157,7 @@ static const struct dpu_lm_cfg sc8280xp_lm[] =3D { .dspp =3D DSPP_2, }, { .name =3D "lm_3", .id =3D LM_3, - .base =3D 0x47000, .len =3D 0x320, + .base =3D 0x47000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_2, @@ -165,14 +165,14 @@ static const struct dpu_lm_cfg sc8280xp_lm[] =3D { .dspp =3D DSPP_3, }, { .name =3D "lm_4", .id =3D LM_4, - .base =3D 0x48000, .len =3D 0x320, + .base =3D 0x48000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_5, .pingpong =3D PINGPONG_4, }, { .name =3D "lm_5", .id =3D LM_5, - .base =3D 0x49000, .len =3D 0x320, + .base =3D 0x49000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_4, diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h b/drive= rs/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h index b09a6af4c474..04b22167f93d 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h @@ -134,7 +134,7 @@ static const struct dpu_sspp_cfg sm8450_sspp[] =3D { static const struct dpu_lm_cfg sm8450_lm[] =3D { { .name =3D "lm_0", .id =3D LM_0, - .base =3D 0x44000, .len =3D 0x320, + .base =3D 0x44000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_1, @@ -142,7 +142,7 @@ static const struct dpu_lm_cfg sm8450_lm[] =3D { .dspp =3D DSPP_0, }, { .name =3D "lm_1", .id =3D LM_1, - .base =3D 0x45000, .len =3D 0x320, + .base =3D 0x45000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_0, @@ -150,7 +150,7 @@ static const struct dpu_lm_cfg sm8450_lm[] =3D { .dspp =3D DSPP_1, }, { .name =3D "lm_2", .id =3D LM_2, - .base =3D 0x46000, .len =3D 0x320, + .base =3D 0x46000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_3, @@ -158,7 +158,7 @@ static const struct dpu_lm_cfg sm8450_lm[] =3D { .dspp =3D DSPP_2, }, { .name =3D "lm_3", .id =3D LM_3, - .base =3D 0x47000, .len =3D 0x320, + .base =3D 0x47000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_2, @@ -166,14 +166,14 @@ static const struct dpu_lm_cfg sm8450_lm[] =3D { .dspp =3D DSPP_3, }, { .name =3D "lm_4", .id =3D LM_4, - .base =3D 0x48000, .len =3D 0x320, + .base =3D 0x48000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_5, .pingpong =3D PINGPONG_4, }, { .name =3D "lm_5", .id =3D LM_5, - .base =3D 0x49000, .len =3D 0x320, + .base =3D 0x49000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_4, diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h b/drive= rs/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h index 465b6460f875..4c7eb55d474c 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 @@ -131,7 +131,7 @@ static const struct dpu_sspp_cfg sm8550_sspp[] =3D { static const struct dpu_lm_cfg sm8550_lm[] =3D { { .name =3D "lm_0", .id =3D LM_0, - .base =3D 0x44000, .len =3D 0x320, + .base =3D 0x44000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_1, @@ -139,7 +139,7 @@ static const struct dpu_lm_cfg sm8550_lm[] =3D { .dspp =3D DSPP_0, }, { .name =3D "lm_1", .id =3D LM_1, - .base =3D 0x45000, .len =3D 0x320, + .base =3D 0x45000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_0, @@ -147,7 +147,7 @@ static const struct dpu_lm_cfg sm8550_lm[] =3D { .dspp =3D DSPP_1, }, { .name =3D "lm_2", .id =3D LM_2, - .base =3D 0x46000, .len =3D 0x320, + .base =3D 0x46000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_3, @@ -155,7 +155,7 @@ static const struct dpu_lm_cfg sm8550_lm[] =3D { .dspp =3D DSPP_2, }, { .name =3D "lm_3", .id =3D LM_3, - .base =3D 0x47000, .len =3D 0x320, + .base =3D 0x47000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_2, @@ -163,14 +163,14 @@ static const struct dpu_lm_cfg sm8550_lm[] =3D { .dspp =3D DSPP_3, }, { .name =3D "lm_4", .id =3D LM_4, - .base =3D 0x48000, .len =3D 0x320, + .base =3D 0x48000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_5, .pingpong =3D PINGPONG_4, }, { .name =3D "lm_5", .id =3D LM_5, - .base =3D 0x49000, .len =3D 0x320, + .base =3D 0x49000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_4, diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_1_sar2130p.h b/dri= vers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_1_sar2130p.h index 6caa7d40f368..dec83ea8167d 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_1_sar2130p.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_1_sar2130p.h @@ -131,7 +131,7 @@ static const struct dpu_sspp_cfg sar2130p_sspp[] =3D { static const struct dpu_lm_cfg sar2130p_lm[] =3D { { .name =3D "lm_0", .id =3D LM_0, - .base =3D 0x44000, .len =3D 0x320, + .base =3D 0x44000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_1, @@ -139,7 +139,7 @@ static const struct dpu_lm_cfg sar2130p_lm[] =3D { .dspp =3D DSPP_0, }, { .name =3D "lm_1", .id =3D LM_1, - .base =3D 0x45000, .len =3D 0x320, + .base =3D 0x45000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_0, @@ -147,7 +147,7 @@ static const struct dpu_lm_cfg sar2130p_lm[] =3D { .dspp =3D DSPP_1, }, { .name =3D "lm_2", .id =3D LM_2, - .base =3D 0x46000, .len =3D 0x320, + .base =3D 0x46000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_3, @@ -155,7 +155,7 @@ static const struct dpu_lm_cfg sar2130p_lm[] =3D { .dspp =3D DSPP_2, }, { .name =3D "lm_3", .id =3D LM_3, - .base =3D 0x47000, .len =3D 0x320, + .base =3D 0x47000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_2, @@ -163,14 +163,14 @@ static const struct dpu_lm_cfg sar2130p_lm[] =3D { .dspp =3D DSPP_3, }, { .name =3D "lm_4", .id =3D LM_4, - .base =3D 0x48000, .len =3D 0x320, + .base =3D 0x48000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_5, .pingpong =3D PINGPONG_4, }, { .name =3D "lm_5", .id =3D LM_5, - .base =3D 0x49000, .len =3D 0x320, + .base =3D 0x49000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_4, diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h b/dri= vers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h index 7243eebb85f3..52ff4baa668a 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 @@ -130,7 +130,7 @@ static const struct dpu_sspp_cfg x1e80100_sspp[] =3D { static const struct dpu_lm_cfg x1e80100_lm[] =3D { { .name =3D "lm_0", .id =3D LM_0, - .base =3D 0x44000, .len =3D 0x320, + .base =3D 0x44000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_1, @@ -138,7 +138,7 @@ static const struct dpu_lm_cfg x1e80100_lm[] =3D { .dspp =3D DSPP_0, }, { .name =3D "lm_1", .id =3D LM_1, - .base =3D 0x45000, .len =3D 0x320, + .base =3D 0x45000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_0, @@ -146,7 +146,7 @@ static const struct dpu_lm_cfg x1e80100_lm[] =3D { .dspp =3D DSPP_1, }, { .name =3D "lm_2", .id =3D LM_2, - .base =3D 0x46000, .len =3D 0x320, + .base =3D 0x46000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_3, @@ -154,7 +154,7 @@ static const struct dpu_lm_cfg x1e80100_lm[] =3D { .dspp =3D DSPP_2, }, { .name =3D "lm_3", .id =3D LM_3, - .base =3D 0x47000, .len =3D 0x320, + .base =3D 0x47000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_2, @@ -162,14 +162,14 @@ static const struct dpu_lm_cfg x1e80100_lm[] =3D { .dspp =3D DSPP_3, }, { .name =3D "lm_4", .id =3D LM_4, - .base =3D 0x48000, .len =3D 0x320, + .base =3D 0x48000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_5, .pingpong =3D PINGPONG_4, }, { .name =3D "lm_5", .id =3D LM_5, - .base =3D 0x49000, .len =3D 0x320, + .base =3D 0x49000, .len =3D 0x400, .features =3D MIXER_MSM8998_MASK, .sblk =3D &sdm845_lm_sblk, .lm_pair =3D LM_4, --- base-commit: 615aad0f61e0c7a898184a394dc895c610100d4f change-id: 20260127-topic-lm_size_fix-d6ec206b8dd9 Best regards, --=20 Konrad Dybcio