mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] drm/msm/dpu: correct LM pairing for SM6150
@ 2024-12-17 12:35 Dmitry Baryshkov
  2025-01-06 19:32 ` Abhinav Kumar
  2025-02-17 22:20 ` (subset) " Abhinav Kumar
  0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2024-12-17 12:35 UTC (permalink / raw)
  To: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten,
	David Airlie, Simona Vetter
  Cc: Li Liu, Fange Zhang, linux-arm-msm, dri-devel, freedreno, linux-kernel

The SM6150 platform doesn't have 3DMux (MERGE_3D) block, so it can not
split the screen between two LMs. Drop lm_pair fields as they don't make
sense for this platform.

Suggested-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Fixes: cb2f9144693b ("drm/msm/dpu: Add SM6150 support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Changes in v2:
- Dropped lm_pair field as recommended by Abhinav.
- Link to v1: https://lore.kernel.org/r/20241216-dpu-fix-sm6150-v1-1-9fd7ce2ff606@linaro.org
---
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h | 2 --
 1 file changed, 2 deletions(-)

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..d761ed705bac30d9ffef3c0c9140e5e8a5e930ad 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,14 +116,12 @@ static const struct dpu_lm_cfg sm6150_lm[] = {
 		.sblk = &sdm845_lm_sblk,
 		.pingpong = PINGPONG_0,
 		.dspp = DSPP_0,
-		.lm_pair = LM_1,
 	}, {
 		.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,

---
base-commit: a3d570eace66b4016f2692a6f1045742ee70c6b1
change-id: 20241216-dpu-fix-sm6150-17f0739f8fe0

Best regards,
-- 
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] drm/msm/dpu: correct LM pairing for SM6150
  2024-12-17 12:35 [PATCH v2] drm/msm/dpu: correct LM pairing for SM6150 Dmitry Baryshkov
@ 2025-01-06 19:32 ` Abhinav Kumar
  2025-02-17 22:20 ` (subset) " Abhinav Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Abhinav Kumar @ 2025-01-06 19:32 UTC (permalink / raw)
  To: Dmitry Baryshkov, Rob Clark, Sean Paul, Marijn Suijten,
	David Airlie, Simona Vetter
  Cc: Li Liu, Fange Zhang, linux-arm-msm, dri-devel, freedreno, linux-kernel



On 12/17/2024 4:35 AM, Dmitry Baryshkov wrote:
> The SM6150 platform doesn't have 3DMux (MERGE_3D) block, so it can not
> split the screen between two LMs. Drop lm_pair fields as they don't make
> sense for this platform.
> 
> Suggested-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
> Fixes: cb2f9144693b ("drm/msm/dpu: Add SM6150 support")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> Changes in v2:
> - Dropped lm_pair field as recommended by Abhinav.
> - Link to v1: https://lore.kernel.org/r/20241216-dpu-fix-sm6150-v1-1-9fd7ce2ff606@linaro.org
> ---
>   drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h | 2 --
>   1 file changed, 2 deletions(-)
> 

Thanks!

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: (subset) [PATCH v2] drm/msm/dpu: correct LM pairing for SM6150
  2024-12-17 12:35 [PATCH v2] drm/msm/dpu: correct LM pairing for SM6150 Dmitry Baryshkov
  2025-01-06 19:32 ` Abhinav Kumar
@ 2025-02-17 22:20 ` Abhinav Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Abhinav Kumar @ 2025-02-17 22:20 UTC (permalink / raw)
  To: Rob Clark, Sean Paul, Marijn Suijten, David Airlie,
	Simona Vetter, Dmitry Baryshkov
  Cc: Abhinav Kumar, Li Liu, Fange Zhang, linux-arm-msm, dri-devel,
	freedreno, linux-kernel


On Tue, 17 Dec 2024 14:35:40 +0200, Dmitry Baryshkov wrote:
> The SM6150 platform doesn't have 3DMux (MERGE_3D) block, so it can not
> split the screen between two LMs. Drop lm_pair fields as they don't make
> sense for this platform.
> 
> 

Applied to msm-fixes, thanks!

[1/1] drm/msm/dpu: correct LM pairing for SM6150
      https://gitlab.freedesktop.org/drm/msm/-/commit/24b50b7340ab

Best regards,
-- 
Abhinav Kumar <quic_abhinavk@quicinc.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-17 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-17 12:35 [PATCH v2] drm/msm/dpu: correct LM pairing for SM6150 Dmitry Baryshkov
2025-01-06 19:32 ` Abhinav Kumar
2025-02-17 22:20 ` (subset) " Abhinav Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®