* [Buildroot] [PATCH] kmscube: Move to the new repository
@ 2017-03-06 12:27 Fabio Estevam
2017-03-06 20:22 ` Thomas Petazzoni
0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2017-03-06 12:27 UTC (permalink / raw)
To: buildroot
As announced by Rob Clark at:
https://lists.freedesktop.org/archives/mesa-dev/2017-February/145745.html
, the kmscube repository has been moved from github to freedesktop.org,
so change it to the new location.
With the newest code the local patch for adding imx-drm support
is no longer needed.
Also, on imx6q we need to explicitily pass the card device now:
# kmscube -D /dev/dri/card1
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
package/kmscube/0001-addimxdrm.patch | 27 ---------------------------
package/kmscube/kmscube.hash | 2 +-
package/kmscube/kmscube.mk | 4 ++--
3 files changed, 3 insertions(+), 30 deletions(-)
delete mode 100644 package/kmscube/0001-addimxdrm.patch
diff --git a/package/kmscube/0001-addimxdrm.patch b/package/kmscube/0001-addimxdrm.patch
deleted file mode 100644
index 3eb7959..0000000
--- a/package/kmscube/0001-addimxdrm.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 23186149100dd9c871f65132edce67db0b1ce3c3 Mon Sep 17 00:00:00 2001
-From: XoD <xoddark@gmail.com>
-Date: Mon, 13 Feb 2017 16:43:35 -0200
-Subject: [PATCH] Add imx-drm management
-
-Add imx-drm in the list of kms modules.
-
-Signed-off-by: XoD <xoddark@gmail.com>
-Signed-off-by: Fabio Estevam <festevam@gmail.com>
----
- kmscube.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/kmscube.c b/kmscube.c
-index ca2c266..95bd77f 100644
---- a/kmscube.c
-+++ b/kmscube.c
-@@ -122,6 +122,7 @@ static int init_drm(void)
- static const char *modules[] = {
- "exynos",
- "i915",
-+ "imx-drm",
- "msm",
- "nouveau",
- "omapdrm",
---
-2.7.4
diff --git a/package/kmscube/kmscube.hash b/package/kmscube/kmscube.hash
index d3e9858..0c9e414 100644
--- a/package/kmscube/kmscube.hash
+++ b/package/kmscube/kmscube.hash
@@ -1,2 +1,2 @@
# Locally computed
-sha256 73cf923f915f9f7ee46f9f03bd24254fc04b5f166270c0d37c6f2bc3881186ec kmscube-8c6a20901f95e1b465bbca127f9d47fcfb8762e6.tar.gz
+sha256 aee8375da730c2e59e8644d6bd5e011f06c88f723a8f8934bd5dac67d94a3b8a kmscube-87e3ff5683ee54228b3e6e75f7d4de83901fadb0.tar.gz
diff --git a/package/kmscube/kmscube.mk b/package/kmscube/kmscube.mk
index 88db868..9d3074a 100644
--- a/package/kmscube/kmscube.mk
+++ b/package/kmscube/kmscube.mk
@@ -4,8 +4,8 @@
#
################################################################################
-KMSCUBE_VERSION = 8c6a20901f95e1b465bbca127f9d47fcfb8762e6
-KMSCUBE_SITE = $(call github,robclark,kmscube,$(KMSCUBE_VERSION))
+KMSCUBE_VERSION = 87e3ff5683ee54228b3e6e75f7d4de83901fadb0
+KMSCUBE_SITE = https://cgit.freedesktop.org/mesa/kmscube/snapshot
KMSCUBE_LICENSE = MIT
KMSCUBE_DEPENDENCIES = host-pkgconf mesa3d libdrm
KMSCUBE_AUTORECONF = YES
--
2.7.4
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-06 12:27 [Buildroot] [PATCH] kmscube: Move to the new repository Fabio Estevam
@ 2017-03-06 20:22 ` Thomas Petazzoni
2017-03-06 20:26 ` Fabio Estevam
0 siblings, 1 reply; 17+ messages in thread
From: Thomas Petazzoni @ 2017-03-06 20:22 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 6 Mar 2017 09:27:53 -0300, Fabio Estevam wrote:
> As announced by Rob Clark at:
> https://lists.freedesktop.org/archives/mesa-dev/2017-February/145745.html
>
> , the kmscube repository has been moved from github to freedesktop.org,
> so change it to the new location.
>
> With the newest code the local patch for adding imx-drm support
> is no longer needed.
>
> Also, on imx6q we need to explicitily pass the card device now:
>
> # kmscube -D /dev/dri/card1
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> package/kmscube/0001-addimxdrm.patch | 27 ---------------------------
> package/kmscube/kmscube.hash | 2 +-
> package/kmscube/kmscube.mk | 4 ++--
> 3 files changed, 3 insertions(+), 30 deletions(-)
> delete mode 100644 package/kmscube/0001-addimxdrm.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-06 20:22 ` Thomas Petazzoni
@ 2017-03-06 20:26 ` Fabio Estevam
2017-03-06 20:31 ` Thomas Petazzoni
0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2017-03-06 20:26 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Mon, Mar 6, 2017 at 5:22 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Applied to master, thanks.
There last line of the commit log (# kmscube -D /dev/dri/card1) has
been dropped.
Was this intentional?
Thanks
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-06 20:26 ` Fabio Estevam
@ 2017-03-06 20:31 ` Thomas Petazzoni
2017-03-08 9:39 ` Gary Bisson
0 siblings, 1 reply; 17+ messages in thread
From: Thomas Petazzoni @ 2017-03-06 20:31 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 6 Mar 2017 17:26:30 -0300, Fabio Estevam wrote:
> Hi Thomas,
>
> On Mon, Mar 6, 2017 at 5:22 PM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
>
> > Applied to master, thanks.
>
> There last line of the commit log (# kmscube -D /dev/dri/card1) has
> been dropped.
>
> Was this intentional?
No: but it started with #, so when I did a "git commit --amend" to
adjust the commit title, it got removed, and I didn't notice.
Don't start lines with # if you want them to be kept by Git :-)
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-06 20:31 ` Thomas Petazzoni
@ 2017-03-08 9:39 ` Gary Bisson
2017-03-08 9:55 ` Fabio Estevam
0 siblings, 1 reply; 17+ messages in thread
From: Gary Bisson @ 2017-03-08 9:39 UTC (permalink / raw)
To: buildroot
Thomas, Fabio, All,
On Mon, Mar 6, 2017 at 9:31 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Mon, 6 Mar 2017 17:26:30 -0300, Fabio Estevam wrote:
>> Hi Thomas,
>>
>> On Mon, Mar 6, 2017 at 5:22 PM, Thomas Petazzoni
>> <thomas.petazzoni@free-electrons.com> wrote:
>>
>> > Applied to master, thanks.
I actually get a build error with this version:
drm-atomic.c: In function ?get_plane_id?:
drm-atomic.c:290:44: error: ?DRM_MODE_OBJECT_PLANE? undeclared (first
use in this function)
drmModeObjectGetProperties(drm.fd, id, DRM_MODE_OBJECT_PLANE);
In order to fix it I've had to add the following include to drm-atomic.c:
#include <libdrm/drm_mode.h>
In case it helps, I use linaro-arm-2017-02 toolchain.
Let me know if you don't see that issue on your end.
Regards,
Gary
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-08 9:39 ` Gary Bisson
@ 2017-03-08 9:55 ` Fabio Estevam
2017-03-08 10:06 ` Gary Bisson
0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2017-03-08 9:55 UTC (permalink / raw)
To: buildroot
Hi Gary,
On Wed, Mar 8, 2017 at 6:39 AM, Gary Bisson
<gary.bisson@boundarydevices.com> wrote:
> I actually get a build error with this version:
> drm-atomic.c: In function ?get_plane_id?:
> drm-atomic.c:290:44: error: ?DRM_MODE_OBJECT_PLANE? undeclared (first
> use in this function)
> drmModeObjectGetProperties(drm.fd, id, DRM_MODE_OBJECT_PLANE);
>
> In order to fix it I've had to add the following include to drm-atomic.c:
> #include <libdrm/drm_mode.h>
>
> In case it helps, I use linaro-arm-2017-02 toolchain.
>
> Let me know if you don't see that issue on your end.
No, I didn't see this error. Could you please send a patch to
Buildroot and also to the upstream project?
Thanks,
Fabio Estevam
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-08 9:55 ` Fabio Estevam
@ 2017-03-08 10:06 ` Gary Bisson
2017-03-08 12:40 ` Fabio Estevam
0 siblings, 1 reply; 17+ messages in thread
From: Gary Bisson @ 2017-03-08 10:06 UTC (permalink / raw)
To: buildroot
Hi Fabio,
On Wed, Mar 8, 2017 at 10:55 AM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Gary,
>
> On Wed, Mar 8, 2017 at 6:39 AM, Gary Bisson
> <gary.bisson@boundarydevices.com> wrote:
>
>> I actually get a build error with this version:
>> drm-atomic.c: In function ?get_plane_id?:
>> drm-atomic.c:290:44: error: ?DRM_MODE_OBJECT_PLANE? undeclared (first
>> use in this function)
>> drmModeObjectGetProperties(drm.fd, id, DRM_MODE_OBJECT_PLANE);
>>
>> In order to fix it I've had to add the following include to drm-atomic.c:
>> #include <libdrm/drm_mode.h>
>>
>> In case it helps, I use linaro-arm-2017-02 toolchain.
>>
>> Let me know if you don't see that issue on your end.
>
> No, I didn't see this error. Could you please send a patch to
> Buildroot and also to the upstream project?
Before sending a patch I'd like to understand why the error only shows
up in my case and not yours. I also trust that Rob built his atomic
addition before pushing it.
Can you send me the output of 'make kmscube-rebuild V=1' in your environment?
Regards,
Gary
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-08 10:06 ` Gary Bisson
@ 2017-03-08 12:40 ` Fabio Estevam
2017-03-08 15:17 ` Gary Bisson
0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2017-03-08 12:40 UTC (permalink / raw)
To: buildroot
Hi Gary,
On Wed, Mar 8, 2017 at 7:06 AM, Gary Bisson
<gary.bisson@boundarydevices.com> wrote:
> Before sending a patch I'd like to understand why the error only shows
> up in my case and not yours. I also trust that Rob built his atomic
> addition before pushing it.
>
> Can you send me the output of 'make kmscube-rebuild V=1' in your environment?
Sure, here is the log:
http://pastebin.com/QBDVLFDq
I just used the default toolchain from Buildroot.
There is a warning in the log and I have sent a patch to fix it upstream:
https://lists.freedesktop.org/archives/mesa-dev/2017-March/146581.html
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-08 12:40 ` Fabio Estevam
@ 2017-03-08 15:17 ` Gary Bisson
2017-03-08 15:47 ` Fabio Estevam
0 siblings, 1 reply; 17+ messages in thread
From: Gary Bisson @ 2017-03-08 15:17 UTC (permalink / raw)
To: buildroot
Hi Fabio,
On Wed, Mar 8, 2017 at 1:40 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Gary,
>
> On Wed, Mar 8, 2017 at 7:06 AM, Gary Bisson
> <gary.bisson@boundarydevices.com> wrote:
>
>> Before sending a patch I'd like to understand why the error only shows
>> up in my case and not yours. I also trust that Rob built his atomic
>> addition before pushing it.
>>
>> Can you send me the output of 'make kmscube-rebuild V=1' in your environment?
>
> Sure, here is the log:
> http://pastebin.com/QBDVLFDq
Thanks but I don't see anything obviously different between our configs.
> I just used the default toolchain from Buildroot.
Can you tell me where is DRM_MODE_OBJECT_PLANE defined in your case?
Here is my output:
$ grep -rn DRM_MODE_OBJECT_PLANE output/host/usr/arm-buildroot-linux-gnueabihf/
output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libdrm/drm_mode.h:336:#define
DRM_MODE_OBJECT_PLANE 0xeeeeeeee
Also, is adding my fix to your build bringing any issue?
Regards,
Gary
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-08 15:17 ` Gary Bisson
@ 2017-03-08 15:47 ` Fabio Estevam
2017-03-09 14:53 ` Gary Bisson
0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2017-03-08 15:47 UTC (permalink / raw)
To: buildroot
Hi Gary,
On Wed, Mar 8, 2017 at 12:17 PM, Gary Bisson
<gary.bisson@boundarydevices.com> wrote:
> Can you tell me where is DRM_MODE_OBJECT_PLANE defined in your case?
>
> Here is my output:
> $ grep -rn DRM_MODE_OBJECT_PLANE output/host/usr/arm-buildroot-linux-gnueabihf/
> output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libdrm/drm_mode.h:336:#define
> DRM_MODE_OBJECT_PLANE 0xeeeeeeee
I see them defined in two places here:
$ grep -rn DRM_MODE_OBJECT_PLANE output/host/
output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/drm/drm_mode.h:336:#define
DRM_MODE_OBJECT_PLANE 0xeeeeeeee
output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/libdrm/drm_mode.h:336:#define
DRM_MODE_OBJECT_PLANE 0xeeeeeeee
> Also, is adding my fix to your build bringing any issue?
Just tried your patch and the build still succeeds with it.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-08 15:47 ` Fabio Estevam
@ 2017-03-09 14:53 ` Gary Bisson
2017-03-09 22:03 ` Peter Korsgaard
0 siblings, 1 reply; 17+ messages in thread
From: Gary Bisson @ 2017-03-09 14:53 UTC (permalink / raw)
To: buildroot
Hi Fabio,
On Wed, Mar 8, 2017 at 4:47 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Gary,
>
> On Wed, Mar 8, 2017 at 12:17 PM, Gary Bisson
> <gary.bisson@boundarydevices.com> wrote:
>
>> Can you tell me where is DRM_MODE_OBJECT_PLANE defined in your case?
>>
>> Here is my output:
>> $ grep -rn DRM_MODE_OBJECT_PLANE output/host/usr/arm-buildroot-linux-gnueabihf/
>> output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libdrm/drm_mode.h:336:#define
>> DRM_MODE_OBJECT_PLANE 0xeeeeeeee
>
> I see them defined in two places here:
>
> $ grep -rn DRM_MODE_OBJECT_PLANE output/host/
> output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/drm/drm_mode.h:336:#define
> DRM_MODE_OBJECT_PLANE 0xeeeeeeee
> output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/libdrm/drm_mode.h:336:#define
> DRM_MODE_OBJECT_PLANE 0xeeeeeeee
So it means your toolchain is using kernel headers >= 4.7.
http://lxr.free-electrons.com/ident?v=4.6;i=DRM_MODE_OBJECT_PLANE
http://lxr.free-electrons.com/ident?v=4.7;i=DRM_MODE_OBJECT_PLANE
Not sure which header version the Linaro toolchain is using but it's
definitely older than 4.7.
From the manifest we know the toolchain is build on a machine running
a 4.4.x kernel:
https://releases.linaro.org/components/toolchain/binaries/6.3-2017.02/arm-linux-gnueabihf/gcc-linaro-6.3.1-2017.02-linux-manifest.txt
>> Also, is adding my fix to your build bringing any issue?
>
> Just tried your patch and the build still succeeds with it.
Thanks for testing it out, good to here it works but I'm still not
sure adding this libdrm/drm_mode.h is the best solution as-is.
Thomas, do you have any advice on what's the best approach here.
Regards,
Gary
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-09 14:53 ` Gary Bisson
@ 2017-03-09 22:03 ` Peter Korsgaard
2017-03-10 9:47 ` Gary Bisson
0 siblings, 1 reply; 17+ messages in thread
From: Peter Korsgaard @ 2017-03-09 22:03 UTC (permalink / raw)
To: buildroot
>>>>> "Gary" == Gary Bisson <gary.bisson@boundarydevices.com> writes:
Hi,
>> I see them defined in two places here:
>>
>> $ grep -rn DRM_MODE_OBJECT_PLANE output/host/
>> output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/drm/drm_mode.h:336:#define
>> DRM_MODE_OBJECT_PLANE 0xeeeeeeee
>> output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/libdrm/drm_mode.h:336:#define
>> DRM_MODE_OBJECT_PLANE 0xeeeeeeee
> So it means your toolchain is using kernel headers >= 4.7.
> http://lxr.free-electrons.com/ident?v=4.6;i=DRM_MODE_OBJECT_PLANE
> http://lxr.free-electrons.com/ident?v=4.7;i=DRM_MODE_OBJECT_PLANE
> Not sure which header version the Linaro toolchain is using but it's
> definitely older than 4.7.
Based on
toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in it
is using 4.6.
> Thanks for testing it out, good to here it works but I'm still not
> sure adding this libdrm/drm_mode.h is the best solution as-is.
The question is what happens if kmscube is run on a kernel that doesn't
support DRM_MODE_OBJECT_PLANE (E.G. kernel < 4.7)? If it really needs
support for this then we should simply make the package depend on >= 4.7
headers, and if not we could add a patch to add the include.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-09 22:03 ` Peter Korsgaard
@ 2017-03-10 9:47 ` Gary Bisson
2017-03-10 9:59 ` Peter Korsgaard
2017-03-10 15:45 ` Fabio Estevam
0 siblings, 2 replies; 17+ messages in thread
From: Gary Bisson @ 2017-03-10 9:47 UTC (permalink / raw)
To: buildroot
Hi,
On Thu, Mar 9, 2017 at 11:03 PM, Peter Korsgaard <peter@korsgaard.com> wrote:
>>>>>> "Gary" == Gary Bisson <gary.bisson@boundarydevices.com> writes:
>
> Hi,
>
> >> I see them defined in two places here:
> >>
> >> $ grep -rn DRM_MODE_OBJECT_PLANE output/host/
> >> output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/drm/drm_mode.h:336:#define
> >> DRM_MODE_OBJECT_PLANE 0xeeeeeeee
> >> output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/libdrm/drm_mode.h:336:#define
> >> DRM_MODE_OBJECT_PLANE 0xeeeeeeee
>
> > So it means your toolchain is using kernel headers >= 4.7.
> > http://lxr.free-electrons.com/ident?v=4.6;i=DRM_MODE_OBJECT_PLANE
> > http://lxr.free-electrons.com/ident?v=4.7;i=DRM_MODE_OBJECT_PLANE
>
> > Not sure which header version the Linaro toolchain is using but it's
> > definitely older than 4.7.
>
> Based on
> toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in it
> is using 4.6.
Thanks.
> > Thanks for testing it out, good to here it works but I'm still not
> > sure adding this libdrm/drm_mode.h is the best solution as-is.
>
> The question is what happens if kmscube is run on a kernel that doesn't
> support DRM_MODE_OBJECT_PLANE (E.G. kernel < 4.7)?
I believe it would work since the declaration was in the kernel
already, just missing from the uapi header:
http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=8812f38141
> If it really needs
> support for this then we should simply make the package depend on >= 4.7
> headers, and if not we could add a patch to add the include.
Adding a dependency on headers >= 4.7 would definitely work and I
think it's the easiest/cleanest option here.
I'll just be sad not to be able to use the prebuilt (linaro) toolchain ;)
Regards,
Gary
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-10 9:47 ` Gary Bisson
@ 2017-03-10 9:59 ` Peter Korsgaard
2017-03-10 15:45 ` Fabio Estevam
1 sibling, 0 replies; 17+ messages in thread
From: Peter Korsgaard @ 2017-03-10 9:59 UTC (permalink / raw)
To: buildroot
>>>>> "Gary" == Gary Bisson <gary.bisson@boundarydevices.com> writes:
Hi,
>> The question is what happens if kmscube is run on a kernel that doesn't
>> support DRM_MODE_OBJECT_PLANE (E.G. kernel < 4.7)?
> I believe it would work since the declaration was in the kernel
> already, just missing from the uapi header:
> http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=8812f38141
Ahh, ok - Good. And looking at the state before that, the drm plane
stuff was added in 3.3 (8cf5c91771515).
>> If it really needs
>> support for this then we should simply make the package depend on >= 4.7
>> headers, and if not we could add a patch to add the include.
> Adding a dependency on headers >= 4.7 would definitely work and I
> think it's the easiest/cleanest option here.
> I'll just be sad not to be able to use the prebuilt (linaro) toolchain ;)
It is indeed a bit stupid to not allow the Linaro toolchain when the fix
is so easy. Have you tried to contact upstream about either adding the
drm include and/or local definitions for this define?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-10 9:47 ` Gary Bisson
2017-03-10 9:59 ` Peter Korsgaard
@ 2017-03-10 15:45 ` Fabio Estevam
2017-03-13 9:43 ` Gary Bisson
2017-03-13 13:49 ` Fabio Estevam
1 sibling, 2 replies; 17+ messages in thread
From: Fabio Estevam @ 2017-03-10 15:45 UTC (permalink / raw)
To: buildroot
Hi Gary,
On Fri, Mar 10, 2017 at 6:47 AM, Gary Bisson
<gary.bisson@boundarydevices.com> wrote:
> Adding a dependency on headers >= 4.7 would definitely work and I
> think it's the easiest/cleanest option here.
>
> I'll just be sad not to be able to use the prebuilt (linaro) toolchain ;)
What about sending the #include <libdrm/drm_mode.h> fix upstream?
BTW, I got another build error report on sparc that I have not had a
chance to investigate yet:
http://autobuild.buildroot.net/results/d7e/d7e82c67e0b04b0aea990bfb19dd6e4fd914bebe/
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-10 15:45 ` Fabio Estevam
@ 2017-03-13 9:43 ` Gary Bisson
2017-03-13 13:49 ` Fabio Estevam
1 sibling, 0 replies; 17+ messages in thread
From: Gary Bisson @ 2017-03-13 9:43 UTC (permalink / raw)
To: buildroot
Hi Fabio,
On Fri, Mar 10, 2017 at 4:45 PM, Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Gary,
>
> On Fri, Mar 10, 2017 at 6:47 AM, Gary Bisson
> <gary.bisson@boundarydevices.com> wrote:
>
> > Adding a dependency on headers >= 4.7 would definitely work and I
> > think it's the easiest/cleanest option here.
> >
> > I'll just be sad not to be able to use the prebuilt (linaro) toolchain ;)
>
> What about sending the #include <libdrm/drm_mode.h> fix upstream?
I just sent the patch upstream, we'll see how it goes.
Regards,
Gary
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH] kmscube: Move to the new repository
2017-03-10 15:45 ` Fabio Estevam
2017-03-13 9:43 ` Gary Bisson
@ 2017-03-13 13:49 ` Fabio Estevam
1 sibling, 0 replies; 17+ messages in thread
From: Fabio Estevam @ 2017-03-13 13:49 UTC (permalink / raw)
To: buildroot
On Fri, Mar 10, 2017 at 12:45 PM, Fabio Estevam <festevam@gmail.com> wrote:
> What about sending the #include <libdrm/drm_mode.h> fix upstream?
>
> BTW, I got another build error report on sparc that I have not had a
> chance to investigate yet:
> http://autobuild.buildroot.net/results/d7e/d7e82c67e0b04b0aea990bfb19dd6e4fd914bebe/
Just sent the following kmscube patches that fix these build failures:
https://lists.freedesktop.org/archives/mesa-dev/2017-March/147720.html
https://lists.freedesktop.org/archives/mesa-dev/2017-March/147721.html
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2017-03-13 13:49 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06 12:27 [Buildroot] [PATCH] kmscube: Move to the new repository Fabio Estevam
2017-03-06 20:22 ` Thomas Petazzoni
2017-03-06 20:26 ` Fabio Estevam
2017-03-06 20:31 ` Thomas Petazzoni
2017-03-08 9:39 ` Gary Bisson
2017-03-08 9:55 ` Fabio Estevam
2017-03-08 10:06 ` Gary Bisson
2017-03-08 12:40 ` Fabio Estevam
2017-03-08 15:17 ` Gary Bisson
2017-03-08 15:47 ` Fabio Estevam
2017-03-09 14:53 ` Gary Bisson
2017-03-09 22:03 ` Peter Korsgaard
2017-03-10 9:47 ` Gary Bisson
2017-03-10 9:59 ` Peter Korsgaard
2017-03-10 15:45 ` Fabio Estevam
2017-03-13 9:43 ` Gary Bisson
2017-03-13 13:49 ` Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.