drm/i915: Add *_ring_begin() to request allocation
authorJohn Harrison <John.C.Harrison@Intel.com>
Fri, 29 May 2015 16:44:09 +0000 (17:44 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jun 2015 12:02:30 +0000 (14:02 +0200)
commitccd98fe4996cd22094cde7b6a1f7c569f261b3e9
tree77855ea48506c5873ed6bf7d21f74e790c74c6ab
parent4d616a293a1071d19066808abccb40930f0ae5a0
drm/i915: Add *_ring_begin() to request allocation

Now that the *_ring_begin() functions no longer call the request allocation
code, it is finally safe for the request allocation code to call *_ring_begin().
This is important to guarantee that the space reserved for the subsequent
i915_add_request() call does actually get reserved.

v2: Renamed functions according to review feedback (Tomas Elf).

For: VIZ-5115
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h
This page took 0.025626 seconds and 5 git commands to generate.