commit | 9b2412f9ad0a3913baa40c270d6e1fa3c6d50067 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Feb 11 14:26:44 2009 +0000 |
committer | Eric Anholt <eric@anholt.net> | Tue Mar 10 20:22:24 2009 -0700 |
tree | 88f0382840856fc1d58aa12bcbfb2d1ec8eb7ae0 | |
parent | 040aefa263aa9cd7bd5df50586c35e1e15e77f84 [diff] |
drm/i915: First recheck for an empty fence register. If we wait upon a request and successfully unbind a buffer occupying a fence register, then that slot will be freed and cause a NULL derefrence upon rescanning. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>