Drew Davenport bb00a452d6 drm/msm/dpu: Refactor resource manager
Track hardware resource objects in arrays rather than
a list and remove the resource manager's iterator idiom. Separate
the mapping of hardware resources to an encoder ID into a different
array.

Use an implicit mapping between the hardware blocks' ids, which
are 1-based, and array indices in these arrays to replace iteration
with index lookups in several places.

Signed-off-by: Drew Davenport <ddavenport@chromium.org>
[squash in minor compiler warning fixes]
Signed-off-by: Rob Clark <robdclark@chromium.org>
2020-03-19 11:35:37 -07:00
..
2019-09-03 16:17:02 -07:00
2019-09-03 16:17:02 -07:00
2019-09-03 16:17:02 -07:00
2019-11-13 15:34:15 -05:00
2020-02-14 12:57:57 +10:00
2019-12-18 18:07:32 +01:00
2019-09-03 16:16:57 -07:00
2019-09-03 16:16:57 -07:00
2019-09-03 16:17:02 -07:00
2019-10-07 09:29:10 -07:00
2019-09-03 16:17:01 -07:00
2019-09-03 16:16:57 -07:00
2019-11-02 09:43:24 -07:00
2019-09-03 16:16:57 -07:00