diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-02-22 10:05:02 +1100 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-02-22 10:05:02 +1100 |
commit | 68b6a56f62aedd02069f8576ff83bff13e27e018 (patch) | |
tree | 049c9f4bccf73fd52ae1e588e9f1c83da48ee4ad /sys/dev/pci | |
parent | 08abef1f4007469f009cd2d86f9f092780d9fb5e (diff) |
init gpu_write_list in all the places the other ring lists are init'd
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/drm/i915_gem.c | 1 | ||||
-rw-r--r-- | sys/dev/pci/drm/intel_ringbuffer.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_gem.c b/sys/dev/pci/drm/i915_gem.c index e60eaa6dbda..d6d40bf2f4a 100644 --- a/sys/dev/pci/drm/i915_gem.c +++ b/sys/dev/pci/drm/i915_gem.c @@ -2467,6 +2467,7 @@ init_ring_lists(struct intel_ring_buffer *ring) { INIT_LIST_HEAD(&ring->active_list); INIT_LIST_HEAD(&ring->request_list); + INIT_LIST_HEAD(&ring->gpu_write_list); } // i915_gem_load diff --git a/sys/dev/pci/drm/intel_ringbuffer.c b/sys/dev/pci/drm/intel_ringbuffer.c index 25fd392837b..34562e73f00 100644 --- a/sys/dev/pci/drm/intel_ringbuffer.c +++ b/sys/dev/pci/drm/intel_ringbuffer.c @@ -1869,6 +1869,7 @@ intel_render_ring_init_dri(struct drm_device *dev, u64 start, u32 size) ring->dev = dev; INIT_LIST_HEAD(&ring->active_list); INIT_LIST_HEAD(&ring->request_list); + INIT_LIST_HEAD(&ring->gpu_write_list); ring->size = size; ring->effective_size = ring->size; |