drm/i915: kill a no longer necessary BUG_ON
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 2 Feb 2010 21:54:18 +0000 (22:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:37 +0000 (10:23 +0100)
commit86394c669a485cb773ddef9f2b66bebdb23241d0
tree0e62095cb0b259e248b8eb8639a0774771de710e
parent8a1a49f954734040dbc7b87e3b1221a050045e43
drm/i915: kill a no longer necessary BUG_ON

i915_gem_object_move_to_active can handle zero seqno for us now.
And not emitting a request is not fatal here - we'll try to emit
a new one if we have to wait for some rendering to complete.

In case this assumption ever gets accidentally broken, there's already
a BUG_ON to catch it in i915_do_wait_request.

So just silently ignore ENOMEM here instead of screwing up the whole
drm.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c