Re: [OE-core] [RFC][PATCH 0/1] mesa: clover | Microsoft/Intel CLC: fix building OpenCL programs

2022-09-18 Thread Andrey Konovalov
On 9/17/22 19:38, Khem Raj wrote: On Sat, Sep 17, 2022 at 4:56 AM Andrey Konovalov wrote: This fixes the errors like: -8<- dragonboard-845c:~$ clinfo Max work group size 1024 === CL_PROGRAM_BUILD_LOG === :1:10: fatal error: 'opencl-c.h' file not fo

Re: [OE-core] [RFC][PATCH 1/1] mesa: fix building OpenCL programs

2022-09-18 Thread Andrey Konovalov
On 9/17/22 16:57, Richard Purdie wrote: On Sat, 2022-09-17 at 14:56 +0300, Andrey Konovalov wrote: When building an OpenCL program clover needs to locate opencl-c.h include file. This include file location is passed via cpp args using CLANG_RESOURCE_DIR macro. To set CLANG_RESOURCE_DIR value

Re: [OE-core] [RFC][PATCH 1/1] mesa: fix building OpenCL programs

2022-09-18 Thread Andrey Konovalov
On 9/17/22 15:26, Alexander Kanavin wrote: Please send this upstream first. Oops... For some reason I was under impression that this is OE build specific. Good point! Thanks, Andrey Alex On Sat 17. Sep 2022 at 12.56, Andrey Konovalov mailto:andrey.konova...@linaro.org>> wrote:

[OE-core] [RFC][PATCH 1/1] mesa: fix building OpenCL programs

2022-09-17 Thread Andrey Konovalov
ase too. Signed-off-by: Andrey Konovalov --- ...-meson.CLANG_RESOURCE_DIR-workaround.patch | 42 +++ meta/recipes-graphics/mesa/mesa.inc | 1 + 2 files changed, 43 insertions(+) create mode 100644 meta/recipes-graphics/mesa/files/0001-meson.CLANG_RESOURCE_DIR-workarou

[OE-core] [RFC][PATCH 0/1] mesa: clover | Microsoft/Intel CLC: fix building OpenCL programs

2022-09-17 Thread Andrey Konovalov
Replace TARGET_* flags with normal equivalent flags". The latter is not required in my case, it just makes llvm-config wrapper from meta-clang (the one used in this build) to look closer to the llvm-config wrapper from oe-core. Andrey Konovalov (1): mesa: fix building OpenCL programs ...-m

[OE-core] [PATCH 1/2] mesa: add pipe-loader's libraries to libopencl-mesa package

2022-08-30 Thread Andrey Konovalov
clover needs those. Signed-off-by: Andrey Konovalov --- meta/recipes-graphics/mesa/mesa.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index c4efc13438..eb7296e834 100644 --- a/meta/recipes

[OE-core] [PATCH 2/2] mesa: build clover with native LLVM codegen support for freedreno

2022-08-30 Thread Andrey Konovalov
Signed-off-by: Andrey Konovalov --- meta/recipes-graphics/mesa/mesa.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index eb7296e834..1e04aff998 100644 --- a/meta/recipes-graphics/mesa/mesa.inc

[OE-core] [rocko][RESEND PATCH] weston: add patch to set pitch correctly for subsampled textures

2018-01-17 Thread Andrey Konovalov
This fixes display issue with YUV420/I420 and NV12 formats, that can result in crash of weston. The master branch has this fix as part of commit 148920f3971d "weston: Bump version to 3.0.0". The patch has been rebased to apply cleanly to weston 2.0.0. Signed-off-by: Andrey

Re: [OE-core] [rocko][PATCH] weston: add patch to set pitch correctly for subsampled textures

2017-11-25 Thread Andrey Konovalov
On 24.11.2017 23:34, Leonardo Sandoval wrote: On Fri, 24 Nov 2017 22:58:20 +0300 Andrey Konovalov <andrey.konova...@linaro.org> wrote: This exact patch also applies to pyro. Should I send the separate "[OE-core][pyro][PATCH] weston: add patch to set pitch correctly for subsampl

[OE-core] [pyro][PATCH] weston: add patch to set pitch correctly for subsampled textures

2017-11-25 Thread Andrey Konovalov
This fixes display issue with YUV420/I420 and NV12 formats, that can result in crash of weston. The master branch has this fix as part of commit 148920f3971d "weston: Bump version to 3.0.0". The patch has been rebased to apply cleanly to weston 2.0.0. Signed-off-by: Andrey

Re: [OE-core] [rocko][PATCH] weston: add patch to set pitch correctly for subsampled textures

2017-11-24 Thread Andrey Konovalov
This exact patch also applies to pyro. Should I send the separate "[OE-core][pyro][PATCH] weston: add patch to set pitch correctly for subsampled textures" email, or just asking to merge it into pyro as well is enough? Thanks, Andrey On 24.11.2017 22:47, Andrey Konovalov wrote:

[OE-core] [rocko][PATCH] weston: add patch to set pitch correctly for subsampled textures

2017-11-24 Thread Andrey Konovalov
This fixes display issue with YUV420/I420 and NV12 formats, that can result in crash of weston. The master branch has this fix as part of commit 148920f3971d "weston: Bump version to 3.0.0". The patch has been rebased to apply cleanly to weston 2.0.0. Signed-off-by: Andrey