Skip to contentSkip to conversation

drm/amd/display: Amend descriptions within enum pipe_split_policy

PATCH In review Carlos Bilbao 3 participants 3 messages Nov 7, 2022 – Nov 8, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Amend descriptions within enum pipe_split_policy

Correct descriptions of two last fields of enum pipe_split_policy, updating comments with proper field names.

---
 drivers/gpu/drm/amd/display/dc/dc.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/dc.h +5 -4
index bfc5474c0f4c..277631a899d8 100644
@@ -457,15 +457,16 @@ enum pipe_split_policy {
 	MPC_SPLIT_DYNAMIC = 0,
 
 	/**
-	 * @MPC_SPLIT_DYNAMIC: Avoid pipe split, which means that DC will not
+	 * @MPC_SPLIT_AVOID: Avoid pipe split, which means that DC will not
 	 * try any sort of split optimization.
 	 */
 	MPC_SPLIT_AVOID = 1,
 
 	/**
-	 * @MPC_SPLIT_DYNAMIC: With this option, DC will only try to optimize
-	 * the pipe utilization when using a single display; if the user
-	 * connects to a second display, DC will avoid pipe split.
+	 * @MPC_SPLIT_AVOID_MULT_DISP: With this option, DC will only try
+	 * to optimize the pipe utilization when using a single display;
+	 * if the user connects to a second display, DC will avoid pipe
+	 * split.
 	 */
 	MPC_SPLIT_AVOID_MULT_DISP = 2,
 };
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Carlos Bilbao

Correct descriptions of two last fields of enum pipe_split_policy, updating comments with proper field names.

Quoted 32 lines
---
 drivers/gpu/drm/amd/display/dc/dc.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/dc.h +5 -5
index bfc5474c0f4c..277631a899d8 100644
@@ -457,15 +457,16 @@ enum pipe_split_policy {
        MPC_SPLIT_DYNAMIC = 0,
 
        /**
-        * @MPC_SPLIT_DYNAMIC: Avoid pipe split, which means that DC will not
+        * @MPC_SPLIT_AVOID: Avoid pipe split, which means that DC will not
         * try any sort of split optimization.
         */
        MPC_SPLIT_AVOID = 1,
 
        /**
-        * @MPC_SPLIT_DYNAMIC: With this option, DC will only try to optimize
-        * the pipe utilization when using a single display; if the user
-        * connects to a second display, DC will avoid pipe split.
+        * @MPC_SPLIT_AVOID_MULT_DISP: With this option, DC will only try
+        * to optimize the pipe utilization when using a single display;
+        * if the user connects to a second display, DC will avoid pipe
+        * split.
         */
        MPC_SPLIT_AVOID_MULT_DISP = 2,
 };
--

2.34.1

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Carlos Bilbao
Quoted 4 lines · Carlos Bilbao

Correct descriptions of two last fields of enum pipe_split_policy, updating comments with proper field names.

Harry

Quoted 29 lines
---
 drivers/gpu/drm/amd/display/dc/dc.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/dc.h +5 -4
index bfc5474c0f4c..277631a899d8 100644
@@ -457,15 +457,16 @@ enum pipe_split_policy {
 	MPC_SPLIT_DYNAMIC = 0,
 
 	/**
-	 * @MPC_SPLIT_DYNAMIC: Avoid pipe split, which means that DC will not
+	 * @MPC_SPLIT_AVOID: Avoid pipe split, which means that DC will not
 	 * try any sort of split optimization.
 	 */
 	MPC_SPLIT_AVOID = 1,
 
 	/**
-	 * @MPC_SPLIT_DYNAMIC: With this option, DC will only try to optimize
-	 * the pipe utilization when using a single display; if the user
-	 * connects to a second display, DC will avoid pipe split.
+	 * @MPC_SPLIT_AVOID_MULT_DISP: With this option, DC will only try
+	 * to optimize the pipe utilization when using a single display;
+	 * if the user connects to a second display, DC will avoid pipe
+	 * split.
 	 */
 	MPC_SPLIT_AVOID_MULT_DISP = 2,
 };