From c878105aa842f6a7fbec5414d50cbf93892b3a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Fri, 31 Aug 2012 12:56:31 +0300 Subject: gralloc_drm_intel: set gem handle for each bo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit not just fbs, potentially anything can be used as framebuffer by kms code Change-Id: Ib710bb62ae23cf58a987c6614306711dedb11cbf Signed-off-by: Tapani Pälli --- gralloc_drm_intel.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.1