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 4 months ago committed by Alexander Orzechowski
parent beb9a9ad0a
commit 234d31f138

@ -123,9 +123,12 @@ struct match_state {
bool exit_early;
};
/*
* skips: The number of SKIP elements encountered so far.
* score: The number of resources we've matched so far.
/**
* Step to process a CRTC.
*
* 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.
* crtc_index: The index of the current CRTC.
*

Loading…
Cancel
Save