-
- Downloads
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 <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by:
Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181001123204.23982-4-chris@chris-wilson.co.uk
Showing
- drivers/gpu/drm/i915/intel_engine_cs.c 3 additions, 3 deletionsdrivers/gpu/drm/i915/intel_engine_cs.c
- drivers/gpu/drm/i915/intel_guc_submission.c 5 additions, 7 deletionsdrivers/gpu/drm/i915/intel_guc_submission.c
- drivers/gpu/drm/i915/intel_lrc.c 60 additions, 27 deletionsdrivers/gpu/drm/i915/intel_lrc.c
- drivers/gpu/drm/i915/intel_ringbuffer.h 12 additions, 1 deletiondrivers/gpu/drm/i915/intel_ringbuffer.h
Loading
Please register or sign in to comment