commit | c58949f4185020d6d447698818fc7614adec69cf | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Mon Jun 19 11:59:17 2017 +0100 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Tue Jun 20 12:42:13 2017 +0100 |
tree | 9873aa991e99fc84d64c12de230a0b595408dd71 | |
parent | 33def1ff7b09645f3631059ad9ce23e2c65e9016 [diff] |
drm/i915: Do not re-calculate num_rings locally Since bb8f0f5abdd7 ("drm/i915: Split intel_engine allocation and initialisation") intel_info->num_rings is set early in the load sequence and so available to be used direclty in the 2nd load phase. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170616130339.23015-1-tvrtko.ursulin@linux.intel.com