Skip to content

Commit ef8d147

Browse files
rddunlapalexdeucher
authored andcommitted
drm/amd/display: fix kernel-doc issues in dc.h
Fix these kernel-doc complaints: drivers/gpu/drm/amd/display/dc/dc.h:505: warning: cannot understand function prototype: 'struct dc_clocks ' dc.h:472: warning: Enum value 'MPC_SPLIT_AVOID' not described in enum 'pipe_split_policy' dc.h:472: warning: Enum value 'MPC_SPLIT_AVOID_MULT_DISP' not described in enum 'pipe_split_policy' dc.h:532: warning: Incorrect use of kernel-doc format: * @fw_based_mclk_switching Fixes: ea76895 ("drm/amd/display: Document pipe split policy") Fixes: 1682bd1 ("drm/amd/display: Expand kernel doc for DC") Signed-off-by: Randy Dunlap <[email protected]> Cc: Rodrigo Siqueira <[email protected]> Cc: Alex Deucher <[email protected]> Cc: Harry Wentland <[email protected]> Cc: Leo Li <[email protected]> Cc: [email protected] Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: [email protected] Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent beb15bc commit ef8d147

File tree

1 file changed

+6
-6
lines changed
  • drivers/gpu/drm/amd/display/dc

1 file changed

+6
-6
lines changed

drivers/gpu/drm/amd/display/dc/dc.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -458,15 +458,15 @@ enum pipe_split_policy {
458458
MPC_SPLIT_DYNAMIC = 0,
459459

460460
/**
461-
* @MPC_SPLIT_DYNAMIC: Avoid pipe split, which means that DC will not
461+
* @MPC_SPLIT_AVOID: Avoid pipe split, which means that DC will not
462462
* try any sort of split optimization.
463463
*/
464464
MPC_SPLIT_AVOID = 1,
465465

466466
/**
467-
* @MPC_SPLIT_DYNAMIC: With this option, DC will only try to optimize
468-
* the pipe utilization when using a single display; if the user
469-
* connects to a second display, DC will avoid pipe split.
467+
* @MPC_SPLIT_AVOID_MULT_DISP: With this option, DC will only try to
468+
* optimize the pipe utilization when using a single display; if the
469+
* user connects to a second display, DC will avoid pipe split.
470470
*/
471471
MPC_SPLIT_AVOID_MULT_DISP = 2,
472472
};
@@ -497,7 +497,7 @@ enum dcn_zstate_support_state {
497497
};
498498

499499
/**
500-
* dc_clocks - DC pipe clocks
500+
* struct dc_clocks - DC pipe clocks
501501
*
502502
* For any clocks that may differ per pipe only the max is stored in this
503503
* structure
@@ -528,7 +528,7 @@ struct dc_clocks {
528528
bool fclk_prev_p_state_change_support;
529529
int num_ways;
530530

531-
/**
531+
/*
532532
* @fw_based_mclk_switching
533533
*
534534
* DC has a mechanism that leverage the variable refresh rate to switch

0 commit comments

Comments
 (0)