[PATCH] drm/msm/mdp5: drop cursor pipe for msm8x76

Dmitry Baryshkov posted 1 patch 1 week, 4 days ago
drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 9 ---------
1 file changed, 9 deletions(-)
[PATCH] drm/msm/mdp5: drop cursor pipe for msm8x76
Posted by Dmitry Baryshkov 1 week, 4 days ago
The MSM8976/56 family of platforms doe't have a separate cursor plane.
Instead the cursor is a part of the LM block. Drop the erroneously added
pipe configuration, letting LM to provide a legacy cursor instead.

Fixes: 1860f2a8b8b1 ("drm/msm/mdp5: Add configuration for msm8x76")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c
index 7c91fc1915f3..389d74ff7516 100644
--- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c
+++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c
@@ -698,15 +698,6 @@ static const struct mdp5_cfg_hw msm8x76_config = {
 			MDP_PIPE_CAP_SW_PIX_EXT	|
 			0,
 	},
-	.pipe_cursor = {
-		.count = 1,
-		.base = { 0x440DC },
-		.caps = MDP_PIPE_CAP_HFLIP	|
-			MDP_PIPE_CAP_VFLIP	|
-			MDP_PIPE_CAP_SW_PIX_EXT	|
-			MDP_PIPE_CAP_CURSOR	|
-			0,
-	},
 	.lm = {
 		.count = 2,
 		.base = { 0x44000, 0x45000 },

---
base-commit: c68a982815dcce5464e3bf2a31ac94f5146c04ca
change-id: 20260914-mdp5-fix-cursor-b80c4320e48a

Best regards,
--  
With best wishes
Dmitry
Re: [PATCH] drm/msm/mdp5: drop cursor pipe for msm8x76
Posted by Konrad Dybcio 1 week, 4 days ago
On 9/14/26 1:24 AM, Dmitry Baryshkov wrote:
> The MSM8976/56 family of platforms doe't have a separate cursor plane.
> Instead the cursor is a part of the LM block. Drop the erroneously added
> pipe configuration, letting LM to provide a legacy cursor instead.
> 
> Fixes: 1860f2a8b8b1 ("drm/msm/mdp5: Add configuration for msm8x76")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---

The HPG agrees, the SWI disagrees.. possibly just a leftover register
though?

Konrad