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
master
Simon Ser 3 months ago committed by Alexander Orzechowski
parent beb9a9ad0a
commit 234d31f138

@ -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.
* *

Loading…
Cancel
Save