[PATCH] drm/amdgpu: Fix annotation for dce_v6_0_line_buffer_adjust function

Srinivasan Shanmugam srinivasan.shanmugam at amd.com
Wed Mar 5 16:32:41 UTC 2025


Updated description for the 'other_mode' parameter. This parameter is
used to determine the display mode of another display controller that
may be sharing the line buffer.

Cc: Ken Wang <Qingqing.Wang at amd.com>
Cc: Christian König <christian.koenig at amd.com>
Cc: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
index 315c098271af..ac51b7a6e8d4 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
@@ -1041,6 +1041,8 @@ static void dce_v6_0_program_watermarks(struct amdgpu_device *adev,
  * @amdgpu_crtc: the selected display controller
  * @mode: the current display mode on the selected display
  * controller
+ * @other_mode: the display mode of another display controller
+ *              that may be sharing the line buffer
  *
  * Setup up the line buffer allocation for
  * the selected display controller (CIK).
-- 
2.34.1



More information about the amd-gfx mailing list