summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-09-22 14:30:55 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-09-22 14:30:55 +0200
commit54df1b9ff3b79097fedd8ed7bf54aca30a660cbd (patch)
tree94bdc1fa2a806f4f8250875c7e3bb7097824a1f5 /linux-core
parent24e33627c5dfb92324a9faf1c7d366e7f33e622a (diff)
Fix pinned buffer fence class.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c
index b46d0361..717e5dab 100644
--- a/linux-core/drm_bo.c
+++ b/linux-core/drm_bo.c
@@ -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;