aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'omap/omap_drm.c')
-rw-r--r--omap/omap_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/omap/omap_drm.c b/omap/omap_drm.c
index 4a0248d5..08ba64eb 100644
--- a/omap/omap_drm.c
+++ b/omap/omap_drm.c
@@ -186,6 +186,7 @@ static struct omap_bo * bo_from_handle(struct omap_device *dev,
186 } 186 }
187 bo->dev = omap_device_ref(dev); 187 bo->dev = omap_device_ref(dev);
188 bo->handle = handle; 188 bo->handle = handle;
189 bo->fd = -1;
189 atomic_set(&bo->refcnt, 1); 190 atomic_set(&bo->refcnt, 1);
190 /* add ourselves to the handle table: */ 191 /* add ourselves to the handle table: */
191 drmHashInsert(dev->handle_table, handle, bo); 192 drmHashInsert(dev->handle_table, handle, bo);