Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 16490E00B4C; Tue, 6 Dec 2016 12:28:05 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, URI_HEX autolearn=no version=3.3.1 X-Spam-HAM-Report: * 1.1 URI_HEX URI: URI hostname has long hexadecimal sequence * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 1028 seconds by postgrey-1.32 at yocto-www; Tue, 06 Dec 2016 12:28:03 PST Received: from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 48EE9E00A4D for ; Tue, 6 Dec 2016 12:28:03 -0800 (PST) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id uB6KAtB8029250 for ; Tue, 6 Dec 2016 14:10:55 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id uB6KAsS9017454 for ; Tue, 6 Dec 2016 14:10:55 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Tue, 6 Dec 2016 14:10:54 -0600 Received: from uda0850410.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id uB6KAstl008635 for ; Tue, 6 Dec 2016 14:10:54 -0600 From: Eric Ruei To: Date: Tue, 6 Dec 2016 15:10:50 -0500 Message-ID: <1481055050-26926-1-git-send-email-e-ruei1@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH] ti-sgx-ddk-um: fix a bug at the drmModeAddFB() call at null_drm_ws.c X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 20:28:06 -0000 Content-Type: text/plain Both parameter depth and bpp are set to uiPixelWidthInBits at the current implementation, however, the depth may not be the same as bpp for certain pixel format such as XRGB8888. This bug was exposed by the recent DRM driver change introducing strict error checking. To fix this problem, add utility function uiPixelDepthInBits to derive and use depth based on the pixel format. Signed-off-by: Eric Ruei --- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb index 15c9232..77fc198 100644 --- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb @@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" BRANCH = "ti-img-sgx/${PV}" SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" -SRCREV = "fccafce7d0a023e36c064ccbaa7d33e89252ea00" +SRCREV = "3c0537748dd283b2de9c5369570aa2aade5a9979" # There's only hardfp version available python __anonymous() { @@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8" inherit update-rc.d -PR = "r16" +PR = "r17" PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux" DEPENDS += "libdrm udev libgbm wayland libffi" -- 1.9.1