[Mesa-dev] [PATCH 0/2] Fix llvmpipe on ARM processors without NEON

2019-03-12 Thread Lubomir Rintel
Hi, chained to this message are two patches that aim to fix llvmpipe driver on an ARM machine that has no NEON instructions. My machine is a XO-1.75 laptop with a Marvell MMP2 processor: [lkundrak@xo ~]$ LD_SHOW_AUXV=yespls /bin/true |grep HWCAP AT_HWCAP:half thumb fastmult vfp edsp

[Mesa-dev] [PATCH 1/2] gallivm: guess CPU features also on ARM

2019-03-12 Thread Lubomir Rintel
getHostCPUFeatures() is also available on ARM, for even longer time than for x86. Use it -- it potentially enables instructions that may speed things up. Signed-off-by: Lubomir Rintel Cc: --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 13 ++--- 1 file changed, 6 insertions(+), 7

[Mesa-dev] [PATCH 2/2] gallivm: disable NEON instructions if they are not supported

2019-03-12 Thread Lubomir Rintel
NEON instructions. Signed-off-by: Lubomir Rintel Cc: --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index f3b5784fce7..f307c26d4f7 100644

[Mesa-dev] [PATCH v2] i915: add a missing NULL pointer check

2014-05-27 Thread Lubomir Rintel
creating a zeroed visual whenever 0 is passed for the EGLConfig. We attempt to dereference the visual in i915 and now we don't create a zeroed-out one one it crashes, breaking at least weston in an i915. There's no point in doing so as it would be zero anyway. Signed-off-by: Lubo

[Mesa-dev] [PATCH] i915: add a missing NULL pointer check

2014-05-27 Thread Lubomir Rintel
creating a zeroed visual whenever 0 is passed for the EGLConfig. We attempt to dereference the visual in i915 and now we don't create a zeroed-out one one it crashes, breaking at least weston in an i915. There's point in doing so as it would be zero anyway. Signed-off-by: Lubo