[meta-ti] [PATCH 1/2] omapdrm_pvr: Define PVR_NULLDRM based on the availability of SGX

Denys Dmytriyenko denys at ti.com
Wed Nov 25 15:16:49 PST 2015


On Wed, Nov 25, 2015 at 05:53:40PM -0500, Eric Ruei wrote:
> From: Eric Ruei <a0850410 at uda0850410>

BTW, fix your gitconfig


> Enable non-SGX build for AM3/AM4:
> For ti43x, set PVR_NULLDRM to 1 only if SGX is not included at MACHINE_FEATURES.
> Note: For ti33x, PVR_NULLDRM is always set to 1 becasue only nullDRM is 
> supported.
> 
> 
> Signed-off-by: Eric Ruei <a0850410 at uda0850410>
> ---
>  recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> index 50df3d9..da4ab74 100644
> --- a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> +++ b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> @@ -24,7 +24,7 @@ SRCREV_ti33x = "2b7523d07a13ab704a24a7664749551f4a13ed32"
>  SRCREV_ti43x = "2b7523d07a13ab704a24a7664749551f4a13ed32"
>  
>  PVR_NULLDRM_ti33x = "1"
> -PVR_NULLDRM_ti43x = "0"
> +PVR_NULLDRM_ti43x = "${@base_contains('MACHINE_FEATURES', 'sgx', '0', '1', d)}"
>  PVR_NULLDRM_omap-a15 = "0"
>  
>  EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" PVR_NULLDRM=${PVR_NULLDRM}'
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list