summaryrefslogtreecommitdiff
path: root/freedreno/msm
diff options
context:
space:
mode:
Diffstat (limited to 'freedreno/msm')
-rw-r--r--freedreno/msm/msm_bo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/freedreno/msm/msm_bo.c b/freedreno/msm/msm_bo.c
index fbd82df7..3f5b6d07 100644
--- a/freedreno/msm/msm_bo.c
+++ b/freedreno/msm/msm_bo.c
@@ -137,6 +137,7 @@ drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
bo = &msm_bo->base;
bo->funcs = &funcs;
+ bo->fd = -1;
for (i = 0; i < ARRAY_SIZE(msm_bo->list); i++)
list_inithead(&msm_bo->list[i]);