Return-Path: Received: from mail-yh0-f46.google.com (mail-yh0-f46.google.com [209.85.213.46]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E71CAE013D6 for ; Sat, 24 Aug 2013 10:44:51 -0700 (PDT) Received: by mail-yh0-f46.google.com with SMTP id l109so465228yhq.19 for ; Sat, 24 Aug 2013 10:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=daTvMZtqJEhB8A9EV0XVJC0+lgdjnFr09i+lQ6nFI7k=; b=irdqrJilj3QilKsTMP7PR2gz4JJjkdrjcRajHGq/5FYpmWn39lt9+iJFAIdmy0vuN1 1l1ODLVYk7Ex5UrN7/8kk8myQmvyEEjxLzUvhaS+5ht3Xm0kkGwoAr777OTs7p9F1nQT cAAxdhngT7X65BBfVeLlGSGNlZZ1Fc2sJLZk4cl9Ok6VwOHf2xlKRD+q87Nc9ZoDDcty xuOoW1Mw2u3koDSPhyjG2ooYuJIoCFfgJK0SoZfAipmlhQzA8sQwhw9NEk02SkWtRs2h KF/AbSvDDBk8Tcx9O6tF0LnAPdi4V6KOhrkbKm+A8b4+pFlPBdR+6k97L8iebPIdkrLY gAzg== X-Received: by 10.236.148.133 with SMTP id v5mr5835753yhj.27.1377366290599; Sat, 24 Aug 2013 10:44:50 -0700 (PDT) Received: from nano.lab.ossystems.com.br ([187.23.155.55]) by mx.google.com with ESMTPSA id y69sm7178985yhd.27.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 Aug 2013 10:44:50 -0700 (PDT) Sender: Otavio Salvador From: Otavio Salvador To: meta-freescale Mailing List Date: Sat, 24 Aug 2013 14:44:18 -0300 Message-Id: <1377366264-31014-6-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.4.rc1 In-Reply-To: <1377366264-31014-1-git-send-email-otavio@ossystems.com.br> References: <1377366264-31014-1-git-send-email-otavio@ossystems.com.br> Cc: Otavio Salvador Subject: [meta-fsl-arm PATCH 05/11] gpu-viv-bin-mx6q (3.5.7-1.0.0-alpha.2): Add Hard and Soft Float-Point releases X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2013 17:44:52 -0000 Include the 3.5.7-1.0.0-alpha.2 version of GPU and the mechanism to allow this to be matched for compatibility. When adding a package of: Hard Float-Point, set: PACKAGE_FP_TYPE = "hardfp" Soft Float-Point, set: PACKAGE_FP_TYPE = "softfp" This GPU driver includes following changes/improvements: - GLES20 window mode performance is optimized for improved performance. - glmark2-es2 crashed fixed as documented: Workaround [YOCTO: #4954] so it outputs an error. A fix for it is being developed. - glmark2-es2 performance in windowed mode. Fixes [YOCTO: 4950] This change has been based on changes done in meta-fsl-bsp-release, 3.5.7 dylan branch, by Lauren Post and Evan Kotara . Change-Id: If71a18df232282862ecd551d96e627b975238134 Signed-off-by: Otavio Salvador --- recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 12 ++++++++++++ .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb | 17 ----------------- .../gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-hfp.bb | 12 ++++++++++++ .../gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-sfp.bb | 12 ++++++++++++ 4 files changed, 36 insertions(+), 17 deletions(-) delete mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-hfp.bb create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-sfp.bb diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index d9032b2..0a53900 100644 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc @@ -43,6 +43,18 @@ PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ libwayland-egl-mx6-dev \ " +# Skip package if it does not match the machine float-point type in use +python __anonymous () { + is_machine_hardfp = base_contains("TUNE_FEATURES", "callconvention-hard", True, False, d) + is_package_hardfp = d.getVar("PACKAGE_FP_TYPE", True) == "hardfp" + + if is_package_hardfp != is_machine_hardfp: + PN = d.getVar("PN", True) + PV = d.getVar("PV", True) + bb.debug(1, "Skipping %s (%s) as machine and package float-point does not match" % (PN, PV)) + raise bb.parse.SkipPackage("Package Float-Point is not compatible with the machine") +} + USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" USE_DFB = "${@base_contains("DISTRO_FEATURES", "directfb", "yes", "no", d)}" USE_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb deleted file mode 100644 index d8e00ef..0000000 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (C) 2012-2013 Freescale Semiconductor -# Released under the MIT license (see COPYING.MIT for the terms) - -PR = "r5.0" - -include gpu-viv-bin-mx6q.inc - -SRC_URI += "file://0001-change-header-path-to-HAL.patch \ - file://gc_hal_eglplatform-remove-xlib-undefs.patch \ - file://fix-conflicting-TLS-definition.patch" - -SRC_URI[md5sum] = "2bb7d2f4bdff79ae99ce0c9fc2540701" -SRC_URI[sha256sum] = "48d04d11c6fec11411bcd97c47199caea517ebcd86db6c70f1964b3358a68924" - -# FIXME: 3.0.35-4.0.0 BSP release uses DirectFB 1.4 and Yocto has 1.6 so -# disable it for now -USE_DFB = "no" diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-hfp.bb b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-hfp.bb new file mode 100644 index 0000000..a55e988 --- /dev/null +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-hfp.bb @@ -0,0 +1,12 @@ +# Copyright (C) 2013 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +include gpu-viv-bin-mx6q.inc + +SRC_URI += "file://0001-change-header-path-to-HAL.patch \ + file://gc_hal_eglplatform-remove-xlib-undefs.patch" + +SRC_URI[md5sum] = "f5f4e2e7767c784315461c132929e7d3" +SRC_URI[sha256sum] = "f16747ee5ae2e88631cc1494db98f7b5762940c7db25795906b7cc8f87405caf" + +PACKAGE_FP_TYPE = "hardfp" diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-sfp.bb b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-sfp.bb new file mode 100644 index 0000000..2383fb7 --- /dev/null +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.5.7-1.0.0-alpha.2-sfp.bb @@ -0,0 +1,12 @@ +# Copyright (C) 2013 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +include gpu-viv-bin-mx6q.inc + +SRC_URI += "file://0001-change-header-path-to-HAL.patch \ + file://gc_hal_eglplatform-remove-xlib-undefs.patch" + +SRC_URI[md5sum] = "ef08a4ad04c7886a44af16e826d0f444" +SRC_URI[sha256sum] = "e212e361044eb1f9089761e115e71b27dab67c832ebb1ddbc830c17d2b1e2fba" + +PACKAGE_FP_TYPE = "softfp" -- 1.8.4.rc1