diff options
author | Oscar Mateo <oscar.mateo@intel.com> | 2014-07-24 12:04:15 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-11 10:10:58 -0400 |
commit | 84c2377fcee7a43cd964b62143e9a3714130bb0c (patch) | |
tree | 15f76ff6f576544e00180e1231558ecd847a28a8 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 8c8579176a144b1dca1d99ebb92510924168d508 (diff) |
drm/i915/bdw: Allocate ringbuffers for Logical Ring Contexts
As we have said a couple of times by now, logical ring contexts have
their own ringbuffers: not only the backing pages, but the whole
management struct.
In a previous version of the series, this was achieved with two separate
patches:
drm/i915/bdw: Allocate ringbuffer backing objects for default global LRC
drm/i915/bdw: Allocate ringbuffer for user-created LRCs
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index cbae19bab4bf..eccb8e406e9c 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -635,6 +635,7 @@ struct intel_context { | |||
635 | /* Execlists */ | 635 | /* Execlists */ |
636 | struct { | 636 | struct { |
637 | struct drm_i915_gem_object *state; | 637 | struct drm_i915_gem_object *state; |
638 | struct intel_ringbuffer *ringbuf; | ||
638 | } engine[I915_NUM_RINGS]; | 639 | } engine[I915_NUM_RINGS]; |
639 | 640 | ||
640 | struct list_head link; | 641 | struct list_head link; |