Bump libdrm-intel dependency library to a newer version that support softpin.
PATCH 1/1 Bump libdrm-intel dependency library to a newer version that support softpin.
Required by commit 2603b98ca (aubdump: Support softpin bos).
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -119,7 +119,7 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(ASSEMBLER_WARN_CFLAGS) -PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.64 libdrm]) +PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.68 libdrm]) PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10]) case "$target_cpu" in
Signature · 6 lines
2.8.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi Marius,
Just double-checking - this is an i-g-t patch, isn't it ?
Quoted 13 lines · Marius Vlad
Required by commit
2603b98ca(aubdump: Support softpin bos).Signed-off-by Marius Vlad <[email protected]>CC Kristian Høgsberg Kristensen <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0
configure.ac if test "x$GCC" = "xyes"; then · line 122
Quoted 5 lines
configure.ac +1
-1@@ -119,7 +119,7 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(ASSEMBLER_WARN_CFLAGS) -PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.64 libdrm]) +PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.68 libdrm])
Yes please. As you do that one can nuke most/all the "define LOCAL_" and "struct local_" (in lib/ioctl_wrappers.h)
and replace with with the official symbols. A very nice plus imho ;-)
Side note: this will conflict with Robert Foss's work to make libdrm_intel an optional dependency. Have you/others had the chance to look at the series ? What can we do to get that moving/accepted ?
Thanks
Emil
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 21 lines · Emil Velikov
Hi Marius,
Just double-checking - this is an i-g-t patch, isn't it ?
Quoted 16 lines · Marius Vlad
Required by commit
2603b98ca(aubdump: Support softpin bos).Signed-off-by Marius Vlad <[email protected]>CC Kristian Høgsberg Kristensen <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0@@ -119,7 +119,7 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(ASSEMBLER_WARN_CFLAGS)
Quoted 5 lines
configure.ac if test "x$GCC" = "xyes"; then · line 122
Quoted 2 lines
configure.ac +1
-1-PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.64 libdrm]) +PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.68 libdrm])Yes please. As you do that one can nuke most/all the "define
LOCAL_" and "structlocal_" (inlib/ioctl_wrappers.h)
and replace with with the official symbols. A very nice plus imho ;-)
Please don't. It makes running on older installations even more cumbersome.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 22 lines · Chris Wilson
Quoted 21 lines · Emil Velikov
Hi Marius,
Just double-checking - this is an i-g-t patch, isn't it ?
Quoted 16 lines · Marius Vlad
Required by commit
2603b98ca(aubdump: Support softpin bos).Signed-off-by Marius Vlad <[email protected]>CC Kristian Høgsberg Kristensen <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0@@ -119,7 +119,7 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(ASSEMBLER_WARN_CFLAGS)
Quoted 8 lines
Quoted 5 lines
configure.ac if test "x$GCC" = "xyes"; then · line 122
Quoted 2 lines
configure.ac +1
-1-PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.64 libdrm]) +PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.68 libdrm])Yes please. As you do that one can nuke most/all the "define
LOCAL_" and "structlocal_" (inlib/ioctl_wrappers.h)
and replace with with the official symbols. A very nice plus imho ;-)Please don't. It makes running on older installations even more cumbersome.
Slightly confused here: are you against the libdrm_intel bump, or the removal of the local symbols ?
Admittedly sometimes distros don't bother/refuse to update libdrm which could be an issue in the former case. Although if the package (with all the definitions) is compulsory, how would that cause an issue ?
Genuine question here, not trying to be smart/cheeky/etc.
Thanks
Emil
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 29 lines · Emil Velikov
Quoted 28 lines · Chris Wilson
Quoted 26 lines · Emil Velikov
Hi Marius,
Just double-checking - this is an i-g-t patch, isn't it ?
Quoted 13 lines · Marius Vlad
Required by commit
2603b98ca(aubdump: Support softpin bos).Signed-off-by Marius Vlad <[email protected]>CC Kristian Høgsberg Kristensen <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0configure.ac if test "x$GCC" = "xyes"; then · line 122
Quoted 5 lines
configure.ac +1
-1@@ -119,7 +119,7 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(ASSEMBLER_WARN_CFLAGS) -PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.64 libdrm]) +PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.68 libdrm])Yes please. As you do that one can nuke most/all the "define
LOCAL_" and "structlocal_" (inlib/ioctl_wrappers.h)
and replace with with the official symbols. A very nice plus imho ;-)
Quoted 4 lines
Quoted 2 lines
Please don't. It makes running on older installations even more cumbersome.
Slightly confused here: are you against the
libdrm_intelbump, or the removal of the local symbols ?
Local symbols. They save a lot of time if you can just get the test you need compiling and not worry about dependencies. One of the basic tenents is that we drop a new kernel into an old userspace and expect to have not broken anything. Being lazy, for smoke testing I just build in situ.
Quoted 4 lines
Admittedly sometimes distros don't bother/refuse to update libdrm which could be an issue in the former case. Although if the package (with all the definitions) is compulsory, how would that cause an issue ?
The package may not even exist when testing on v.old distro images. It is mostly a major of convenience, but since the work is already done to be independent, removing causes more work.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 32 lines · Chris Wilson
Quoted 31 lines · Emil Velikov
Quoted 30 lines · Chris Wilson
Quoted 21 lines · Emil Velikov
Hi Marius,
Just double-checking - this is an i-g-t patch, isn't it ?
Quoted 16 lines · Marius Vlad
Required by commit
2603b98ca(aubdump: Support softpin bos).Signed-off-by Marius Vlad <[email protected]>CC Kristian Høgsberg Kristensen <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0@@ -119,7 +119,7 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(ASSEMBLER_WARN_CFLAGS)Quoted 5 lines
configure.ac if test "x$GCC" = "xyes"; then · line 122
Quoted 2 lines
configure.ac +1
-1-PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.64 libdrm]) +PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.68 libdrm])Yes please. As you do that one can nuke most/all the "define
LOCAL_" and "structlocal_" (inlib/ioctl_wrappers.h)
and replace with with the official symbols. A very nice plus imho ;-)Please don't. It makes running on older installations even more cumbersome.
Quoted 9 lines
Quoted 2 lines
Slightly confused here: are you against the
libdrm_intelbump, or the removal of the local symbols ?Local symbols. They save a lot of time if you can just get the test you need compiling and not worry about dependencies. One of the basic tenents is that we drop a new kernel into an old userspace and expect to have not broken anything. Being lazy, for smoke testing I just build in situ.
Fully agree.
Quoted 8 lines
Quoted 4 lines
Admittedly sometimes distros don't bother/refuse to update libdrm which could be an issue in the former case. Although if the package (with all the definitions) is compulsory, how would that cause an issue ?
The package may not even exist when testing on v.old distro images. It is mostly a major of convenience, but since the work is already done to be independent, removing causes more work.
Seems that things are not completely independent, as illustrated by the version bump.
Thus was wondering what's the benefit of (or why object against nuking) the local copies. Since even if they were needed before, they won't be after the bump.That said, it seems that it's a picky/sore topic so I won't dig into it.
If anything I'll just send patches to be acked/nacked. -Emil
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 52 lines · Emil Velikov
Quoted 32 lines · Chris Wilson
Quoted 31 lines · Emil Velikov
Quoted 30 lines · Chris Wilson
Quoted 21 lines · Emil Velikov
Hi Marius,
Just double-checking - this is an i-g-t patch, isn't it ?
Quoted 16 lines · Marius Vlad
Required by commit
2603b98ca(aubdump: Support softpin bos).Signed-off-by Marius Vlad <[email protected]>CC Kristian Høgsberg Kristensen <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0@@ -119,7 +119,7 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(ASSEMBLER_WARN_CFLAGS)Quoted 5 lines
configure.ac if test "x$GCC" = "xyes"; then · line 122
Quoted 2 lines
configure.ac +1
-1-PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.64 libdrm]) +PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.68 libdrm])Yes please. As you do that one can nuke most/all the "define
LOCAL_" and "structlocal_" (inlib/ioctl_wrappers.h)
and replace with with the official symbols. A very nice plus imho ;-)Please don't. It makes running on older installations even more cumbersome.
Quoted 9 lines
Quoted 2 lines
Slightly confused here: are you against the
libdrm_intelbump, or the removal of the local symbols ?Local symbols. They save a lot of time if you can just get the test you need compiling and not worry about dependencies. One of the basic tenents is that we drop a new kernel into an old userspace and expect to have not broken anything. Being lazy, for smoke testing I just build in situ.
Fully agree.
Quoted 8 lines
Quoted 4 lines
Admittedly sometimes distros don't bother/refuse to update libdrm which could be an issue in the former case. Although if the package (with all the definitions) is compulsory, how would that cause an issue ?
The package may not even exist when testing on v.old distro images. It is mostly a major of convenience, but since the work is already done to be independent, removing causes more work.
Quoted 7 lines
Seems that things are not completely independent, as illustrated by the version bump.
Thus was wondering what's the benefit of (or why object against nuking) the local copies. Since even if they were needed before, they won't be after the bump.That said, it seems that it's a picky/sore topic so I won't dig into it.
I don't have uptodate or even recent libdrm everywhere. Getting rid of the locals means another dependency chain to build.
Just being completely lazy and saying "if ain't broke, don't try to fix it". -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
So, the issue is that i-g-t will not build on our builder system, with the current version of librm-intel. It just happens to work because I took the liberity of upgrading the entire system, a while ago.
No build, no newer i-g-t, no tests, no CI.
There are a few of _PINNED macros defined by Chris all over the gem tests. Thought of doing just that, figured it would be better to bump the library instead.
Quoted 3 lines · Emil Velikov
Hi Marius,
Just double-checking - this is an i-g-t patch, isn't it ?
Sorry, my bad!
Quoted 24 lines · Marius Vlad
Quoted 13 lines
Required by commit
2603b98ca(aubdump: Support softpin bos).Signed-off-by Marius Vlad <[email protected]>CC Kristian Høgsberg Kristensen <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0configure.ac if test "x$GCC" = "xyes"; then · line 122
Quoted 5 lines
configure.ac +1
-1@@ -119,7 +119,7 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(ASSEMBLER_WARN_CFLAGS) -PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.64 libdrm]) +PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.68 libdrm])Yes please. As you do that one can nuke most/all the "define
LOCAL_" and "structlocal_" (inlib/ioctl_wrappers.h)
and replace with with the official symbols. A very nice plus imho ;-)
Quoted 3 lines
Side note: this will conflict with Robert Foss's work to make
libdrm_intelan optional dependency. Have you/others had the chance to look at the series ? What can we do to get that moving/accepted ?
Yes I've seen them. Someone to Ack'em :-).
Quoted 3 lines
Thanks
Emil
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · Marius Vlad
Quoted 3 lines
Side note: this will conflict with Robert Foss's work to make
libdrm_intelan optional dependency. Have you/others had the chance to look at the series ? What can we do to get that moving/accepted ?Yes I've seen them. Someone to Ack'em :-).
Can you please elaborate who can/should Ack them - is that someone from the IGT team ? From functionality POV they're pretty good, as I've been through them a few times already (and have my r-b, fwiw).
Thanks
Emil
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · Emil Velikov
Quoted 6 lines · Marius Vlad
Quoted 3 lines
Side note: this will conflict with Robert Foss's work to make
libdrm_intelan optional dependency. Have you/others had the chance to look at the series ? What can we do to get that moving/accepted ?Yes I've seen them. Someone to Ack'em :-).
Can you please elaborate who can/should Ack them - is that someone from the IGT team ? From functionality POV they're pretty good, as I've been through them a few times already (and have my r-b, fwiw).
Not sure where the work from Robert Foss is right now tbh ... Do you want commit rights to igt to move it forward? Preemptive ack from me, just ask Daniel Stone to add you to the right groups on fd.o.
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 9 lines · Daniel Vetter
Quoted 8 lines · Emil Velikov
Quoted 6 lines · Marius Vlad
Quoted 3 lines
Side note: this will conflict with Robert Foss's work to make
libdrm_intelan optional dependency. Have you/others had the chance to look at the series ? What can we do to get that moving/accepted ?Yes I've seen them. Someone to Ack'em :-).
Quoted 7 lines
Quoted 3 lines
Can you please elaborate who can/should Ack them - is that someone from the IGT team ? From functionality POV they're pretty good, as I've been through them a few times already (and have my r-b, fwiw).
Not sure where the work from Robert Foss is right now tbh ... Do you want commit rights to igt to move it forward? Preemptive ack from me, just ask Daniel Stone to add you to the right groups on fd.o.
Ack will check with Daniel for next round. Getting access for Tomeu/Rob or myself about pushing generic fixes to IGT will be great.
Meanwhile thanks for pushing v5 ;-)
-Emil
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx