s disappeared.
Tested and working Ok, please consider that the following is
equivalent to Emil's fixup! patch:
From 83078aa616c429c496b467d23fa2390f1a6008bc Mon Sep 17 00:00:00 2001
From: Mauro Rossi
Date: Tue, 14 Jun 2016 02:26:30 +0200
Subject: [PATCH] android: genxml: optimize autogenerate
Hi,
I tested the optimized one with android-x86 before submitting the patch to
mesa-dev,
also re-tested several times in the last two days with mesa 12.0.0rc3
mesa 12 and later need some changes in drm_gralloc, expecially this one:
https://github.com/maurossi/hardware_drm_gralloc/commit/4d331710
> On Mon, Jun 20, 2016 at 4:49 PM, Chad Versace
> wrote:
> > Emil, how do you test the Android build? I tried building i965 using
> > vanilla AOSP, but that turned into a long journey in yak shaving.
>
> Fun, isn't it. Here's cut-n-paste from my CI job that is tracks AOSP
>
Hi,
in this moment in
> > My last problem was probably due to uncleaned mesa targets folders in
> $OUT
> > path,
> > now I have checked again and building errors are gone.
> >
> You might want to take a look and update the CleanSpec.mk for that.
> I've pushed the one-liner to master - do we want it in stable (11.0.x)
>
one.
>
> v2:
> - Bail out when KHR_gl_colorspace is missing and srgb is set (Marek)
>
> Cc: Mauro Rossi
> Cc: Chih-Wei Huang
> Cc: "11.0 11.1"
> Fixes: c2c2e9ab604(egl: implement EGL_KHR_gl_colorspace (v2))
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=9159
Fixes building errors in radeon drivers and winsys:
target C: libmesa_amd_common <= external/mesa/src/amd/common/ac_gpu_info.c
...
target C: libmesa_amd_common <= external/mesa/src/amd/common/ac_surface.c
...
target C: libmesa_pipe_r300 <=
external/mesa/src/gallium/drivers/r300/r300_blit.c
...
2017-05-21 18:27 GMT+02:00 Emil Velikov :
> Hi Mauro,
>
> There is a similar issue when building with autotools. There's a few
> ways to address this so let's see what the devs prefer.
>
> Another temporary workaround is to build radeonsi alongside the other
> radeon drivers.
>
> -Emil
>
Just FYI
Fixes the following building error:
external/mesa/src/gallium/drivers/svga/svga_screen.c:26:10:
fatal error: 'git_sha1.h' file not found
^
1 error generated.
---
src/gallium/drivers/svga/Android.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers
2017-05-22 1:34 GMT+02:00 Mauro Rossi :
>
>
> 2017-05-21 18:27 GMT+02:00 Emil Velikov :
>
>> Hi Mauro,
>>
>> There is a similar issue when building with autotools. There's a few
>> ways to address this so let's see what the devs prefer.
>>
2017-05-28 16:46 GMT+02:00 Rob Herring :
> On Fri, May 26, 2017 at 10:15 AM, Mauro Rossi
> wrote:
> > Fixes the following building error:
> >
> > external/mesa/src/gallium/drivers/svga/svga_screen.c:26:10:
> > fatal error: 'git_sha1.h' file not fo
2017-05-28 21:02 GMT+02:00 Rob Herring :
> On Sun, May 28, 2017 at 1:31 PM, Mauro Rossi
> wrote:
> >
> >
> > 2017-05-28 16:46 GMT+02:00 Rob Herring :
> >>
> >> On Fri, May 26, 2017 at 10:15 AM, Mauro Rossi
> >> wrote:
> >> > Fixe
2017-05-28 21:02 GMT+02:00 Rob Herring :
> On Sun, May 28, 2017 at 1:31 PM, Mauro Rossi
> wrote:
> >
> >
> > 2017-05-28 16:46 GMT+02:00 Rob Herring :
> >>
> >> On Fri, May 26, 2017 at 10:15 AM, Mauro Rossi
> >> wrote:
> >> > Fixe
2017-05-30 15:41 GMT+02:00 Rob Herring :
> On Tue, May 30, 2017 at 8:03 AM, Emil Velikov
> wrote:
> > On 30 May 2017 at 13:23, Rob Herring wrote:
> >> sysmacros.h was getting implicitly included in types.h until recently in
> >> AOSP master. Define MAJOR_IN_SYSMACROS to explicitly include
> sysm
2017-05-30 14:23 GMT+02:00 Rob Herring :
> sysmacros.h was getting implicitly included in types.h until recently in
> AOSP master. Define MAJOR_IN_SYSMACROS to explicitly include sysmacros.h.
>
> Signed-off-by: Rob Herring
> ---
> Android.common.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> dif
The rules to generate egd_tables.h are added in Android makefile
Fixes: f42fb00 "r600/eg: add support for tracing IBs after a hang."
---
src/gallium/drivers/r600/Android.mk | 10 ++
1 file changed, 10 insertions(+)
diff --git a/src/gallium/drivers/r600/Android.mk
b/src/gallium/drivers/r
2017-05-29 14:30 GMT+02:00 Emil Velikov :
> On 26 May 2017 at 16:15, Mauro Rossi wrote:
>> Fixes the following building error:
>>
>> external/mesa/src/gallium/drivers/svga/svga_screen.c:26:10:
>> fatal error: 'git_sha1.h' file not found
>>
following a try
> https://github.com/aphogat/mesa.git branch: reviews
>
> 9 and 10 are
> Reviewed-by; Emil Velikov
>
> -Emil
Hi,
the Android makefiles changes have been reviewed and double checked.
Reviewed-by: Mauro Rossi
___
mesa
2017-06-05 1:46 GMT+02:00 Mauro Rossi :
> 2017-06-04 23:21 GMT+02:00 Emil Velikov :
>> On 3 June 2017 at 00:54, Jason Ekstrand wrote:
>>> Acked-by: Jason Ekstrand
>>>
>>> Maybe one of the android people would like to test it?
>>>
>> Mauro and
2017-06-05 2:29 GMT+02:00 Emil Velikov :
> On 4 June 2017 at 22:47, Mauro Rossi wrote:
>> 2017-05-29 14:30 GMT+02:00 Emil Velikov :
>>> On 26 May 2017 at 16:15, Mauro Rossi wrote:
>>>> Fixes the following building error:
>>>>
>>>> exte
And here is last (v3) version tested by building nougat-x86
>From 052df48ae71b82b04ed8f634101d0ec919b497e5 Mon Sep 17 00:00:00 2001
From: Mauro Rossi
Date: Tue, 6 Jun 2017 23:15:05 +0200
Subject: [PATCH 1/5] svga: fix git_sha1.h include path in Android.mk (v3)
Adds libmesa_git_sha1 sta
Having moved gallium_dri.so library to /vendor/lib/dri
also symlinks need to be coherently created using TARGET_OUT_VENDOR insted of
TARGET_OUT
or all non Intel drivers will not be loaded with Android N and earlier,
thus causing SurfaceFlinger SIGABRT
Fixes: c3f75d483c ("Android: move libraries t
2017-10-27 14:28 GMT+02:00 Rob Herring :
> On Fri, Oct 27, 2017 at 6:41 AM, Emil Velikov
> wrote:
> > On 26 October 2017 at 23:48, Mauro Rossi wrote:
> >> Having moved gallium_dri.so library to /vendor/lib/dri
> >> also symlinks need to be coherently created using
Having moved gallium_dri.so library to /vendor/lib/dri
also symlinks need to be coherently created using TARGET_OUT_VENDOR instead of
TARGET_OUT
or all non Intel drivers will not be loaded with Android N and earlier,
thus causing SurfaceFlinger SIGABRT
(v2) simplification of post install command
Android build changes to avoid the following building error:
In file included from external/mesa/src/gallium/targets/dri/target.c:1:
external/mesa/src/gallium/auxiliary/target-helpers/drm_helper.h:185:10:
fatal error: 'radeonsi/si_driinfo.h' file not found
#include "radeonsi/si_driinfo.h"
Android build changes to avoid the following building error:
target C: libmesa_pipe_radeonsi <=
external/mesa/src/gallium/drivers/radeonsi/si_pipe.c
...
In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.c:38:
external/mesa/src/compiler/nir/nir.h:48:10: fatal error: 'nir_op
Android build changes to avoid the following building error:
external/mesa/src/gallium/drivers/radeonsi/si_shader_nir.c:505:
error: undefined reference to 'ac_nir_translate'
Fixes: 86d4b46d66 "ac/common: always build NIR translation"
---
src/amd/Android.common.mk | 3 ++-
1 file changed, 2 inser
[PATCH 1/3] android: radeonsi: add nir include paths
[PATCH 2/3] android: ac/common: always build NIR translation
[PATCH 3/3] android: radeonsi: prepare for driver-specific driconf
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.fre
2017-08-03 11:57 GMT+02:00 Emil Velikov :
> Hi Mauro,
>
> Thanks for the series. I'll pull 2&3 in a second - there's a minor
> suggestion in this patch.
>
> On 3 August 2017 at 01:55, Mauro Rossi wrote:
>> Android build changes to avoid the fol
2017-08-03 16:52 GMT+02:00 Emil Velikov :
> On 3 August 2017 at 13:24, Mauro Rossi wrote:
>> 2017-08-03 11:57 GMT+02:00 Emil Velikov :
>>> Hi Mauro,
>>>
>>> Thanks for the series. I'll pull 2&3 in a second - there's a minor
>>> suggest
2017-08-03 20:50 GMT+02:00 Rob Herring :
> On Thu, Aug 3, 2017 at 11:12 AM, Mauro Rossi wrote:
>> 2017-08-03 16:52 GMT+02:00 Emil Velikov :
>>> On 3 August 2017 at 13:24, Mauro Rossi wrote:
>>>> 2017-08-03 11:57 GMT+02:00 Emil Velikov :
>>>>> Hi M
Current generation rules rely on LOCAL_PATH variable,
which may be undefined when dependencies are expanded;
move to using MESA_TOP variable to define sid_tables.py script path
Fixes the following building error:
external/mesa/src/gallium/drivers/radeonsi/si_debug.c:30:10: fatal error:
'sid_tabl
2017-08-11 16:23 GMT+02:00 Rob Herring :
> On Fri, Aug 11, 2017 at 9:02 AM, Mauro Rossi wrote:
>> Current generation rules rely on LOCAL_PATH variable,
>> which may be undefined when dependencies are expanded;
>> move to using MESA_TOP variable to define sid_tables.py sc
2017-08-11 20:06 GMT+02:00 Mauro Rossi :
> 2017-08-11 17:25 GMT+02:00 Rob Herring :
>> On Fri, Aug 11, 2017 at 10:10 AM, Mauro Rossi wrote:
>>> 2017-08-11 16:23 GMT+02:00 Rob Herring :
>>>> On Fri, Aug 11, 2017 at 9:02 AM, Mauro Rossi wrote:
>>>>>
On Aug 11, 2017 5:14 PM, "Kenneth Graunke" wrote:
On Thursday, August 10, 2017 11:50:30 PM PDT Tapani Pälli wrote:
> I do wonder what the target machine is (I haven't seen one that would
> not have ARCH_X86_HAVE_SSE4_1 true, both 32bit and 64bit) but falling
> back to memcpy makes perfect sense w
Fixes following building errors due to missing include paths:
external/mesa/src/amd/common/ac_shader_info.c:23:10: fatal error: 'nir/nir.h'
file not found
#include "nir/nir.h"
^
external/mesa/src/compiler/nir/nir.h:48:10: fatal error: 'nir_opcodes.h' file
not found
#include "nir_opcode
Hi Tomasz,
last minute doubt
2017-04-19 9:00 GMT+02:00 Tomasz Figa :
> Android buffer queues can be abandoned, which results in failing to
> dequeue next buffer. Currently this would fail somewhere deep within
> the DRI stack calling loader's getBuffers*(), without any error
> reporting to the c
2017-04-25 18:21 GMT+02:00 Emil Velikov :
>
> On 24 April 2017 at 22:49, Rob Herring wrote:
> > On Mon, Apr 24, 2017 at 11:59 AM, Emil Velikov
> > wrote:
> >> Hi Rob,
> >>
> >> On 24 April 2017 at 17:46, Rob Herring wrote:
> >>> If r300g is the only radeon driver built, the Android build fails
2017-04-25 22:12 GMT+02:00 Rob Herring :
> On Tue, Apr 25, 2017 at 1:50 PM, Mauro Rossi wrote:
>> 2017-04-25 18:21 GMT+02:00 Emil Velikov :
>>>
>>> On 24 April 2017 at 22:49, Rob Herring wrote:
>>> > On Mon, Apr 24, 2017 at 11:59 AM, Emil Velikov
>>
2017-04-27 0:37 GMT+02:00 Rob Herring :
>
> On Tue, Apr 25, 2017 at 3:12 PM, Rob Herring wrote:
> > On Tue, Apr 25, 2017 at 1:50 PM, Mauro Rossi wrote:
> >> 2017-04-25 18:21 GMT+02:00 Emil Velikov :
> >>>
> >>> On 24 April 2017 at 22:49, Rob Herring
2017-04-27 17:36 GMT+02:00 Emil Velikov :
> On 27 April 2017 at 16:11, Rob Herring wrote:
>
>>
>> BTW, mesa lists this as the LLVM version requirements:
>>
>> LLVM_REQUIRED_GALLIUM=3.3.0
> src/gallium/auxiliary/{draw,gallivm}, used by
> - nouveau (nv30), i915, r300, softpipe (yes) and svga - opt
2017-04-28 14:23 GMT+02:00 Rob Herring :
> On Thu, Apr 27, 2017 at 9:50 PM, Chih-Wei Huang
> wrote:
>> A typo in the subject?
>> (s/building/build/)
>
> It's a bit misleading as originally I wrote it such that a blank
> BOARD_GPU_DRIVERS would enable all drivers, then changed it to "all".
> So it
2017-04-28 21:38 GMT+02:00 Rob Herring :
> On Fri, Apr 28, 2017 at 10:58 AM, Mauro Rossi
> wrote:
> > 2017-04-28 14:23 GMT+02:00 Rob Herring :
> >> On Thu, Apr 27, 2017 at 9:50 PM, Chih-Wei Huang <
> cwhu...@android-x86.org> wrote:
> >>> A ty
2017-04-30 11:43 GMT+02:00 Emil Velikov :
> Hi Rob,
>
> On 27 April 2017 at 20:43, Rob Herring wrote:
> > From: Mauro Rossi
> >
> > Necessary to fix the following radeonsi building errors:
> >
> > In file included from external/mesa/src/gallium/
>
um LLVM version for several drivers. Also,
> > android-x86 L support is using mesa 11.0.
> >
> > I've only tested against AOSP master so far.
> >
> > Rob
> >
> > Mauro Rossi (2):
> > android: drop static linking of R600 LLVM libraries
>
Fixes the following building error happening on marshmallow-x86
with Ubuntu 16.04 LTS stock build essentials package
and by the book Android build system.
external/mesa/src/mesa/drivers/dri/i965/brw_performance_query.c: In function
'open_i915_perf_oa_stream':
external/mesa/src/mesa/drivers/dri/i9
2017-04-27 21:43 GMT+02:00 Rob Herring :
> src/gallium/targets/dri/Android.mk contains lots of conditional for
> individual drivers. Let's move these details into the individual driver
> makefiles.
>
> In the process, align the make driver conditionals with automake
> (i.e. HAVE_GALLIUM_*).
>
> Si
Hi all,
another try to merge android swrast patches in mesa 17.1 or mesa-dev
if they are somehow considered useful for android.
Mauro
2017-01-20 20:17 GMT+01:00 Mauro Rossi :
>
>
> Il lunedì 9 gennaio 2017, Zhen Wu ha scritto:
>
>> Thanks for your review, Rob. Using kms-dri
2017-01-06 18:35 GMT+01:00 Wu Zhen :
> From: WuZhen
>
> this commit enable software rendering on android with llvmpipe.
> the system boots fine antutu 3D benchmark is passing
>
> this commit incorporates some further work done by:
> Paulo Sergio Travaglia
> Ma
+ Karl
2017-05-01 17:02 GMT+02:00 Mauro Rossi :
>
>
> 2017-01-06 18:35 GMT+01:00 Wu Zhen :
>
>> From: WuZhen
>>
>> this commit enable software rendering on android with llvmpipe.
>> the system boots fine antutu 3D benchmark is passing
>>
>> th
2017-04-27 21:43 GMT+02:00 Rob Herring :
> src/gallium/targets/dri/Android.mk contains lots of conditional for
> individual drivers. Let's move these details into the individual driver
> makefiles.
>
> In the process, align the make driver conditionals with automake
> (i.e. HAVE_GALLIUM_*).
>
> Si
2017-05-01 3:03 GMT+02:00 Mauro Rossi :
>
>
> 2017-04-28 4:55 GMT+02:00 Chih-Wei Huang :
>
>> 2017-04-28 3:43 GMT+08:00 Rob Herring :
>> > This is a series of clean-ups and fixes to the Android build files.
>> > Overall, it removes a lot of the if conditions t
2017-04-30 11:49 GMT+02:00 Emil Velikov :
> On 27 April 2017 at 20:43, Rob Herring wrote:
> > Mesa no longer supports LLVM 3.5 for any targets we support.
> > Android-x86 adds support for llvmpipe which could work, but android-x86
> > for L is using mesa 11.0 anyway.
> >
> Fine with me. An ack fr
eedbacks about the
build status in that project
It is not correct that people may think I'm resposible for
debugging/building, in any circumstance, thanks for correcting the
statement.
Mauro
> >
> > Signed-off-by: Andres Gomez
> > Cc: Emil Velikov
> > Cc: Tapani P
Hi,
mesa-dev is about to be polished for marshmallow, nougat and O
and radeonsi was working on both marshmallow-x86 and nougat-x86
Now I see that llvm 3.8 is considered dropped,
but commit "radeonsi: drop support for LLVM 3.8"
does not mention that nougat is gone.
Is there a chance that we can t
2017-05-05 19:14 GMT+02:00 Rob Herring :
> On Mon, May 1, 2017 at 9:55 AM, Tomasz Figa wrote:
> > On Mon, May 1, 2017 at 11:17 PM, Mauro Rossi
> wrote:
> >> Hi all,
> >>
> >> another try to merge android swrast patches in mesa 17.1 or mesa-dev
> &g
Needed to fix android building errors:
external/mesa/src/mesa/drivers/dri/i965/brw_state_upload.c:148: error:
undefined reference to 'gen5_init_atoms'
external/mesa/src/mesa/drivers/dri/i965/brw_state_upload.c:150: error:
undefined reference to 'gen45_init_atoms'
external/mesa/src/mesa/drivers/d
cd258f849cd3ce78384623c96d2c027682d Mon Sep 17 00:00:00 2001
From: Mauro Rossi
Date: Sat, 6 May 2017 14:40:59 +0200
Subject: [HACK] HACK: radeonsi: workaround to llvm 3.9 constraints
Just to avoid the followinf building errors:
external/mesa/src/gallium/drivers/radeonsi/si_shader.c:4
help with
>> debugging/building (Mauro).
>>
>> v3: Mauro my provide feedback for android-x86 only (Mauro).
>>
>> Signed-off-by: Andres Gomez
>> Cc: Emil Velikov
>> Cc: Tapani Pälli
>> Cc: Mauro Rossi
>> Acked-by: Tapani Pälli
>> --
Fixes the folloing building error:
external/mesa/src/egl/drivers/dri2/platform_android.c:1492:19:
error: use of undeclared identifier 'droid_log'
_eglSetLogProc(droid_log);
^
1 error generated.
Fixes: 0372097 "egl: fold Android logger into main/"
---
src/egl/drivers/dri2/pla
2017-05-11 13:25 GMT+02:00 Emil Velikov :
> On 9 May 2017 at 00:24, Mauro Rossi wrote:
>> Fixes the folloing building error:
>>
>> external/mesa/src/egl/drivers/dri2/platform_android.c:1492:19:
>> error: use of undeclared identifier 'droid_log
2017-05-11 13:28 GMT+02:00 Emil Velikov :
> On 13 March 2017 at 13:10, Emil Velikov wrote:
>> On 11 March 2017 at 16:26, Mauro Rossi wrote:
>>> 2017-03-08 17:44 GMT+01:00 Emil Velikov :
>>>>
>>>> On 5 March 2017 at 21:23, Mauro Rossi wrote:
>&
2017-05-11 14:38 GMT+02:00 Emil Velikov :
> On 11 May 2017 at 13:07, Mauro Rossi wrote:
>> 2017-05-11 13:25 GMT+02:00 Emil Velikov :
>>> On 9 May 2017 at 00:24, Mauro Rossi wrote:
>>>> Fixes the folloing building error:
>>>>
>>>> externa
2017-05-11 14:08 GMT+02:00 Mauro Rossi :
> 2017-05-11 13:28 GMT+02:00 Emil Velikov :
>> On 13 March 2017 at 13:10, Emil Velikov wrote:
>>> On 11 March 2017 at 16:26, Mauro Rossi wrote:
>>>> 2017-03-08 17:44 GMT+01:00 Emil Velikov :
>>>>>
>&
2017-05-12 8:18 GMT+02:00 Tapani Pälli :
>
>
> On 05/11/2017 04:00 PM, Lionel Landwerlin wrote:
>>
>> On 11/05/17 13:58, Lionel Landwerlin wrote:
>>>
>>> On 11/05/17 12:27, Tapani Pälli wrote:
>>>>
>>>>
>>>>
>>>>
'if (regs->counters)' expression at line 623 is always true,
spotted because of an error when building android-x86.
'if (regs->counters[idx])' is used instead.
Fixes the following building error in Android:
external/mesa/src/gallium/drivers/radeonsi/si_perfcounter.c:617:14:
error: address of arr
libmesa_amd_common static dependency is added in Android build
to avoid the following building errors:
In file included from
external/mesa/src/gallium/drivers/radeon/r600_buffer_common.c:24:
In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.h:26:
external/mesa/src/gallium/d
Needed to avoid following building error:
external/mesa/src/gallium/drivers/r600/evergreen_compute.c:27:10:
fatal error: 'gelf.h' file not found
^
1 error generated.
Fixes: d96a210842 ("r600g,compute: provide local copy of functions from
ac_binary.c")
---
src/gallium/drivers/r600/Andro
2017-06-17 10:45 GMT+02:00 Jan Vesely :
> On Sat, 2017-06-17 at 10:26 +0200, Mauro Rossi wrote:
>> Needed to avoid following building error:
>>
>> external/mesa/src/gallium/drivers/r600/evergreen_compute.c:27:10:
>> fatal error: 'gelf.h' file not fou
below:
>>
>> src/gallium/drivers/r600/evergreen_compute.c:27:10:
>> fatal error: 'gelf.h' file not found
>> ^
>> 1 error generated.
>>
>> Cc: Jan Vesely
>> Cc: Mauro Rossi
>> Reported-by: Mauro Rossi
>> Fixes: d96a2
2017-05-29 17:30 GMT+02:00 Emil Velikov :
> On 27 May 2017 at 10:59, Mauro Rossi wrote:
>>
>>
>> 2017-05-22 1:34 GMT+02:00 Mauro Rossi :
>>>
>>>
>>>
>>> 2017-05-21 18:27 GMT+02:00 Emil Velikov :
>>>>
>>>> Hi Maur
2017-06-17 19:46 GMT+02:00 Emil Velikov :
> On 17 June 2017 at 18:01, Mauro Rossi wrote:
>> 2017-05-29 17:30 GMT+02:00 Emil Velikov :
>>> On 27 May 2017 at 10:59, Mauro Rossi wrote:
>>>>
>>>>
>>>> 2017-05-22 1:34 GMT+02:00 Mauro Rossi :
&
In addition to Rob Herring "Android: i965: remove libdrm_intel dependency",
we can drop libdrm_intel dependency in anv for Android.
Please check if libdrm has to stay as shared dependency and drop this comment
line.
Fixes: 7dd20bc ("anv/i965: drop libdrm_intel dependency completely")
---
src/in
There is typo in the mkdir command path,
the correct one is $(TARGET_OUT)/$(l)/$(MESA_DRI_MODULE_REL_PATH)
The other issue is in 32bit builds, because lib64 does not exist there,
we can use TARGET_IS_64_BIT to refine the post install command.
Fixes: a3d98ca62f ("Android: use symlinks for driver l
Current post install command relies on GALLIUM_TARGET_DRIVERS variable,
however variable needs to be initialized in src/gallium/Android.mk
in order that all enabled gallium drivers symlinks are correctly generated.
At the moment due to sorting of INC_DIRS and variable set with svga (vmwgfx)
only v
target.c requires "util/options.h" generated header
or the following tricky Android building error may appear:
In file included from external/mesa/src/gallium/targets/dri/target.c:1:
In file included from
external/mesa/src/gallium/auxiliary/target-helpers/drm_helper.h:185:
out/target/product/x86_
Hi, minor self-review and correction the needed header is
"xmlpool/options.h"
Only changes needed are in the commit title ...
2017-12-18 0:11 GMT+01:00 Mauro Rossi :
> target.c requires "xmlpool/options.h" generated header
>
...and here
target.c requires "u
Sorry for the typos, anyway I'm sending corrected title and message in new
thread.
Closing this one
Mauro
2017-12-18 0:20 GMT+01:00 Mauro Rossi :
> Hi, minor self-review and correction the needed header is
> "xmlpool/options.h"
> Only changes needed are in the commit ti
target.c requires "xmlpool/options.h" generated header
or the following tricky Android building error may appear:
In file included from external/mesa/src/gallium/targets/dri/target.c:1:
In file included from
external/mesa/src/gallium/auxiliary/target-helpers/drm_helper.h:185:
out/target/product/x
Il 18/dic/2017 17:27, "Emil Velikov" ha scritto:
On 17 December 2017 at 23:34, Mauro Rossi wrote:
> target.c requires "xmlpool/options.h" generated header
> or the following tricky Android building error may appear:
>
> In file included from external/mesa/sr
Hi,
I tried to add LOCAL_GENERATED_SOURCES += $(MESA_DRI_OPTIONS_H)
incrementally three places:
src/gallium/drivers/radeonsi/Android.mk
src/gallium/targets/dri/Android.mk
and src/gallium/auxiliary/Android.mk
but it didn't work as expected
I also tried by putting later the export in src/util/And
assert() is replaced by unreachable(), to avoid following building error:
external/mesa/src/gallium/drivers/radeonsi/si_shader.c:1967:1:
error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
1 error generated.
Fixes: c797cd6 ("ac: add load_patch_vertices_in() to the abi")
2017-01-06 18:35 GMT+01:00 Wu Zhen :
> From: WuZhen
>
> this commit fixes mesa building on lollipop, however,
> llvm on lollipop is too old to build amdgpu
>
> based on initial work by Mauro Rossi
>
> Change-Id: I98d646f9e1c61fe2754479382885718386a8bbb7
> Reviewed-by:
---
src/gallium/state_trackers/dri/dri_screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/dri/dri_screen.c
b/src/gallium/state_trackers/dri/dri_screen.c
index aa0ad09..a950f52 100644
--- a/src/gallium/state_trackers/dri/dri_screen.c
+++ b/src/g
Hi,
I'm sending a series of 12 patches for android,
comprising fixes for build errors, LLVMInitializeAMDGPU* declarations,
Android 7 fixes and a (small) i915 patch for feature parity with i965.
Tested with nougat-x86 and marshmallow-x86
Mauro
Changelog:
[building errors/trailing whitespaces]
LLVMInitializeAMDGPU* functions need to be explicitly declared
and mesa expects them via header,
but LLVM needs to be instructed to invoke its own LLVM_TARGET(AMDGPU) macro,
or the functions will not be available.
A new llvm cflag (-DFORCE_BUILD_AMDGPU) serves this purpose,
the same mechanism is
Fixes building error due to dependency on nir generated headers
---
src/mesa/Android.libmesa_st_mesa.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mesa/Android.libmesa_st_mesa.mk
b/src/mesa/Android.libmesa_st_mesa.mk
index 3905ddc..92df4ad 100644
--- a/src/mesa/And
LLVMInitializeAMDGPU* functions need to be explicitly declared
and mesa expects them via header,
but LLVM needs to be instructed to invoke its own LLVM_TARGET(AMDGPU) macro,
or the functions will not be available.
A new llvm cflag (-DFORCE_BUILD_AMDGPU) serves this purpose,
the same mechanism is
Fixes building errors due to multiple definition of ffs and ffsll
as they are provided by bionic in kitkat,
in later versions these definitions do no harm.
---
Android.common.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Android.common.mk b/Android.common.mk
index 80cf572..1745b08 10064
Fixes a series of libz related building errors:
target SharedLib: gallium_dri_32
(out/target/prod...SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so)
external/elfutils/libelf/elf_compress.c:117: error: undefined reference to
'deflateInit_'
...
external/elfutils/libelf/elf_compress
Removed as unnecessary
---
src/gallium/targets/dri/Android.mk | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/gallium/targets/dri/Android.mk
b/src/gallium/targets/dri/Android.mk
index 1564d9d..9067b32 100644
--- a/src/gallium/targets/dri/Android.mk
+++ b/src/gallium/targets/dri/Android.m
This is similar to commit 7420c9dab4aaf87e6b840410226c296c4668a48f
but for the i915 driver, as neeeded in android-x86.
In version v2, as per i965 implementation,
the extension GL_OES_EGL_image_external is not enabled by default.
The by-the-book way to enable the extension is mesa environment vari
Conditional libLLVMCore static library dependency is added,
for the case when MESA_ENABLE_LLVM is true
Fixes the following building error with Android 7.0:
In file included from
external/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:62:
...
external/llvm/include/llvm/IR/Attributes.h:68:14: f
Integration of rules that set correct HAVE_LLVM value for Android 7.0
---
Android.common.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Android.common.mk b/Android.common.mk
index 1745b08..36a44bb 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -80,7 +80,7 @@ endi
LLVMInitializeAMDGPU* functions need to be explicitly declared
and mesa expects them via header,
but LLVM needs to be instructed to invoke its own LLVM_TARGET(AMDGPU) macro,
or the functions will not be available.
A new llvm cflag (-DFORCE_BUILD_AMDGPU) serves this purpose,
the same mechanism is
LOCAL_C_INCLUDES need to include correct path of libelf,
which had exceptions for Android 5.0 (i.e external/elfutils/0.153/libelf)
and Android 6.0 (i.e. external/elfutils/src/libelf)
In Android 7.0 the path is again external/elfutils/libelf
Fixes the following building error:
external/mesa/src/ga
2017-01-10 9:38 GMT+01:00 Tapani Pälli :
> Patches 1 & 2
>
> (we've had patch 1 for some time in android-ia but forgot to send it)
>
> Reviewed-by: Tapani Pälli
>
> Patch 3 is not needed, this change is already in Mesa. I'll try to
> compile-test the rest. For some reason this series does not appl
2017-01-06 18:35 GMT+01:00 Wu Zhen :
> From: WuZhen
>
> rename old swrast to softpipe, add a new driver llvmpipe
>
> Change-Id: Ia8bc1005ad6846df78bc1f6d0a4196310a049aca
> Reviewed-by: Mauro Rossi
> Reviewed-by: Chih-Wei Huang
> ---
> Android.common.mk
2017-01-10 1:53 GMT+01:00 Mauro Rossi :
> Integration of rules that set correct HAVE_LLVM value for Android 7.0
> ---
> Android.common.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Android.common.mk b/Android.common.mk
> index 1745b08..3
o fix LLVMInitializeAMDGPU*
declarations, which are in final stages of review, should be
upstreamed, to be able to correctly apply this one.
Mauro
>From d6614af2763ea96940e16571005d4ab06e86304c Mon Sep 17 00:00:00 2001
From: Mauro Rossi
Date: Thu, 12 Jan 2017 00:35:06 +0100
Subject: [PATCH] android: ac/deb
>> --- a/src/gallium/Android.mk
>> +++ b/src/gallium/Android.mk
>> @@ -34,7 +34,9 @@ SUBDIRS += auxiliary/pipe-loader
>> #
>>
>> # swrast
>> -ifneq ($(filter swrast,$(MESA_GPU_DRIVERS)),)
>> +ifneq ($(filter llvmpipe,$(MESA_GPU_DRIVERS)),)
>> +SUBDIRS += winsys/sw/dri drivers/llvmpipe drivers/sof
101 - 200 of 328 matches
Mail list logo