Fix pinned buffer fence class.

main
Thomas Hellstrom 2007-09-22 14:30:55 +02:00
parent 24e33627c5
commit 54df1b9ff3
1 changed files with 1 additions and 1 deletions

View File

@ -1995,7 +1995,7 @@ drm_bo_set_pin(struct drm_device *dev, struct drm_buffer_object *bo,
/* Validate the buffer into its pinned location, with no
* pending fence.
*/
ret = drm_buffer_object_validate(bo, 0, 0, 0);
ret = drm_buffer_object_validate(bo, bo->fence_class, 0, 0);
if (ret) {
mutex_unlock(&bo->mutex);
return ret;