]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove a bad BUG_ON in the fence management code.
authorEric Anholt <eric@anholt.net>
Thu, 4 Jun 2009 11:18:14 +0000 (11:18 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 4 Jun 2009 11:43:09 +0000 (11:43 +0000)
commitf3159022bd8e48ca0d98e89a86966c3e8084918e
treea47715749f9417b16923ecc004ede367bf404acc
parent60895b1a773fd896726acab60494dc4adf4091b5
drm/i915: Remove a bad BUG_ON in the fence management code.

This could be triggered by a gtt mapping fault on 965 that decides to
remove the fence from another object that happens to be active currently.
Since the other object doesn't rely on the fence reg for its execution, we
don't wait for it to finish.  We'll soon be not waiting on 915 most of the
time as well, so just drop the BUG_ON.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c