summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDrew Davenport <ddavenport@chromium.org>2020-02-19 20:42:26 +0300
committerRob Clark <robdclark@chromium.org>2020-03-19 21:35:37 +0300
commitbb00a452d6f77391441ef7df48f7115dd459cd2f (patch)
tree59a1c52320a255b91de74807ab9810b3389e5fde /scripts/gdb/linux/utils.py
parentb954fa6baaca7ac171224ae4bcbd7c0e54016cd5 (diff)
downloadlinux-bb00a452d6f77391441ef7df48f7115dd459cd2f.tar.xz
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions