Commit a176905d authored by Petri Latvala's avatar Petri Latvala Committed by Arkadiusz Hiler

lib/kms: Fix documentation for for_each_pipe_static

The documentation block was copypasted from for_each_pipe without
changing the name.

A drive-by typo fix to for_each_pipe's docs is included.
Signed-off-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent 0bc683ea
Pipeline #13398 passed with stages
in 2 minutes and 56 seconds
......@@ -461,7 +461,7 @@ static inline bool igt_output_is_connected(igt_output_t *output)
igt_output_is_connected((output))))
/**
* for_each_pipe:
* for_each_pipe_static:
* @pipe: The pipe to iterate.
*
* This for loop iterates over all pipes supported by IGT libraries.
......@@ -481,7 +481,7 @@ static inline bool igt_output_is_connected(igt_output_t *output)
*
* Note that this cannot be used to enumerate per-pipe subtest names since it
* depends upon runtime probing of the actual kms driver that is being tested.
* Used #for_each_pipe_static instead.
* Use #for_each_pipe_static instead.
*/
#define for_each_pipe(display, pipe) \
for (pipe = 0; assert(igt_can_fail()), pipe < igt_display_get_n_pipes(display); pipe++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment