backend/drm: improve doc comment for match_connectors_with_crtcs_()

- Add general description
- Mention the computer theory problem that this is solving
- More wording cleanup
This commit is contained in:
Simon Ser 2024-08-21 23:54:24 +02:00 committed by Alexander Orzechowski
parent beb9a9ad0a
commit 234d31f138

View File

@ -123,9 +123,12 @@ struct match_state {
bool exit_early; bool exit_early;
}; };
/* /**
* skips: The number of SKIP elements encountered so far. * Step to process a CRTC.
* score: The number of resources we've matched so far. *
* This is a naive implementation of maximum bipartite matching.
*
* score: The number of connectors we've matched so far.
* replaced: The number of changes from the original solution. * replaced: The number of changes from the original solution.
* crtc_index: The index of the current CRTC. * crtc_index: The index of the current CRTC.
* *