[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230727215141.53910-8-avolmat@me.com>
Date: Thu, 27 Jul 2023 21:51:31 +0000
From: Alain Volmat <avolmat@...com>
To: Alain Volmat <alain.volmat@...s.st.com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>
Cc: Alain Volmat <avolmat@...com>, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 07/14] drm/sti: add more possible GDP / VID planes entries in sti_plane
In order to address the STiH418, add more entries in sti_plane
Signed-off-by: Alain Volmat <avolmat@...com>
---
drivers/gpu/drm/sti/sti_plane.c | 8 ++++++++
drivers/gpu/drm/sti/sti_plane.h | 8 +++++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/sti/sti_plane.c b/drivers/gpu/drm/sti/sti_plane.c
index 29e669ccec5b..f8d65d608b64 100644
--- a/drivers/gpu/drm/sti/sti_plane.c
+++ b/drivers/gpu/drm/sti/sti_plane.c
@@ -28,8 +28,16 @@ const char *sti_plane_to_str(struct sti_plane *plane)
return "GDP2";
case STI_GDP_3:
return "GDP3";
+ case STI_GDP_4:
+ return "GDP4";
+ case STI_GDP_5:
+ return "GDP5";
case STI_HQVDP_0:
return "HQVDP0";
+ case STI_HQVDP_1:
+ return "HQVDP1";
+ case STI_HQVDP_2:
+ return "HQVDP2";
case STI_CURSOR:
return "CURSOR";
default:
diff --git a/drivers/gpu/drm/sti/sti_plane.h b/drivers/gpu/drm/sti/sti_plane.h
index 2c0156bede9c..51fc25ed0287 100644
--- a/drivers/gpu/drm/sti/sti_plane.h
+++ b/drivers/gpu/drm/sti/sti_plane.h
@@ -25,7 +25,9 @@ enum sti_plane_id_of_type {
STI_ID_0 = 0,
STI_ID_1 = 1,
STI_ID_2 = 2,
- STI_ID_3 = 3
+ STI_ID_3 = 3,
+ STI_ID_4 = 4,
+ STI_ID_5 = 5,
};
enum sti_plane_desc {
@@ -33,7 +35,11 @@ enum sti_plane_desc {
STI_GDP_1 = STI_GDP | STI_ID_1,
STI_GDP_2 = STI_GDP | STI_ID_2,
STI_GDP_3 = STI_GDP | STI_ID_3,
+ STI_GDP_4 = STI_GDP | STI_ID_4,
+ STI_GDP_5 = STI_GDP | STI_ID_5,
STI_HQVDP_0 = STI_VDP | STI_ID_0,
+ STI_HQVDP_1 = STI_VDP | STI_ID_1,
+ STI_HQVDP_2 = STI_VDP | STI_ID_2,
STI_CURSOR = STI_CUR,
STI_BACK = STI_BCK
};
--
2.34.1
Powered by blists - more mailing lists