diff options
| author | Chris Wilson <[email protected]> | 2018-10-01 13:32:04 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-10-01 15:26:20 +0100 |
| commit | 85f5e1f385b7643ee31e0530a1daa2438ac27aaf (patch) | |
| tree | 972ae075781a033fc68efa4b7bce10715747af1b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7651a4452ddf8ace48defd473ead6effe35059c7 (diff) | |
drm/i915: Combine multiple internal plists into the same i915_priolist bucket
As we are about to allow ourselves to slightly bump the user priority
into a few different sublevels, packthose internal priority lists
into the same i915_priolist to keep the rbtree compact and avoid having
to allocate the default user priority even after the internal bumping.
The downside to having an requests[] rather than a node per active list,
is that we then have to walk over the empty higher priority lists. To
compensate, we track the active buckets and use a small bitmap to skip
over any inactive ones.
v2: Use MASK of internal levels to simplify our usage.
v3: Prevent overflow when SHIFT is zero.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions