Add TODO about remaining plane counting optimization

This commit is contained in:
Simon Ser 2019-10-13 01:25:08 +03:00
parent 927efe09d2
commit 72f5e9bd2f
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -467,6 +467,8 @@ bool output_choose_layers(struct liftoff_output *output,
if (result->best_score >= step->score + (int)remaining_planes) {
/* Even if we find a layer for all remaining planes, we won't
* find a better allocation. Give up. */
/* TODO: change remaining_planes to only count those whose
* possible CRTC match and which aren't allocated */
return true;
}