summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gralloc_drm_intel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gralloc_drm_intel.c b/gralloc_drm_intel.c
index 8e74c66..519827f 100644
--- a/gralloc_drm_intel.c
+++ b/gralloc_drm_intel.c
@@ -442,8 +442,7 @@ static struct gralloc_drm_bo_t *intel_alloc(struct gralloc_drm_drv_t *drv,
}
}
- if (handle->usage & GRALLOC_USAGE_HW_FB)
- ib->base.fb_handle = ib->ibo->handle;
+ ib->base.fb_handle = ib->ibo->handle;
ib->base.handle = handle;