On Wed, May 21, 2014 at 03:08:51PM +0300, Mika Kuoppala wrote: > diff --git a/drivers/gpu/drm/i915/i915_gem_render_state.c b/drivers/gpu/drm/i915/i915_gem_render_state.c > index 392aa7b..d29e6b2 100644 > --- a/drivers/gpu/drm/i915/i915_gem_render_state.c > +++ b/drivers/gpu/drm/i915/i915_gem_render_state.c > @@ -164,7 +164,6 @@ int i915_gem_render_state_init(struct intel_ring_buffer *ring) > const int gen = INTEL_INFO(ring->dev)->gen; > struct i915_render_state *so; > const struct intel_renderstate_rodata *rodata; > - u32 seqno; > int ret; > > rodata = render_state_get_rodata(ring->dev, gen); > @@ -186,7 +185,11 @@ int i915_gem_render_state_init(struct intel_ring_buffer *ring) > if (ret) > goto out; > > - ret = i915_add_request(ring, &seqno); > + i915_gem_object_move_to_active(so->obj, ring); You have the vma, use it rather than exposing this function. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx