On 9/10/19 5:55 AM, Eric Engestrom wrote:
On Monday, 2019-09-09 16:51:16 -0700, Alan Coopersmith wrote:
On Solaris, sys/sysmacros.h has long-deprecated copies of major() & minor()
but not makedev(). sys/mkdev.h has all three and is the preferred choice.
So we check for sys/mkdev.h first
OpenMinor’:
../xf86drm.c:454:30: error: implicit declaration of function ‘makedev’
[-Werror=implicit-function-declaration]
454 | return drmOpenDevice(makedev(DRM_MAJOR, minor), minor, type);
| ^~~
Signed-off-by: Alan Coopersmith
---
meson.build | 6
the implementation to solely be
the compiler, not the OS. https://bugs.freedesktop.org/show_bug.cgi?id=70686
for example.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
orking for companies who have declined to pay for travel). Contact
bo...@foundation.x.org with requests.
--
-Alan Coopersmith- alan.coopersm...@oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
___
use the common section numbers for the rest.
--
-Alan Coopersmith- alan.coopersm...@oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.f
e and form).
I think the idea of sharing kernel drm code is pretty much dead, yeah.
We are still trying to keep it alive, despite what some may think.
--
-Alan Coopersmith-alan.coopersm...@oracle.com
Oracle Solaris Platform Engineering: X Window S
if test "x$INTEL" != "xno"; then
- case $host_os in
- i?86-*|x86_64-*) INTEL=yes ;;
+ case $host_cpu in
+ i?86|x86_64) INTEL=yes ;;
*) INTEL=no ;;
esac
e the hostnames
to resolve to 131.252.210.176 instead of the DNS reported 131.252.210.161.
--
-Alan Coopersmith-alan.coopersm...@oracle.com
Oracle Solaris Platform Engineering: X Window System
___
dri-devel mailing list
dri-
Signed-off-by: Alan Coopersmith
---
include/drm/drm_fourcc.h |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
index b1107cb..85facb0 100644
--- a/include/drm/drm_fourcc.h
+++ b/include/drm/drm_fourcc.h
@@ -24,10
y ask us - just saying
we're happy to discuss it, and have provided similar funding in the
past for people who needed it to present at FOSDEM & similar venues.)
Send mail to bo...@foundation.x.org with any questions or proposals.
--
-Alan Coopersmith- ala
On 08/03/11 09:31, Alexandre Demers wrote:
> From what I understand, and correct me if I'm wrong, but libpciaccess is
> related to X.
X uses it, but libpciaccess is an abstraction of access to the PCI bus,
which can be (and is) used by non-X programs as well.
--
-Alan
radeon_open_drm_master(ScrnInfoPtr pScrn)
> goto out;
> }
>
> -busid = XNFprintf("pci:%04x:%02x:%02x.%d",
> +busid = XNFasprintf("pci:%04x:%02x:%02x.%d",
A straight replacement like that, with no #ifdef's will break people building
for Xorg 1.9 and
On 02/25/11 02:32 PM, Alan Coopersmith wrote:
>> -busid = XNFprintf("pci:%04x:%02x:%02x.%d",
>> +busid = XNFasprintf("pci:%04x:%02x:%02x.%d",
>
> A straight replacement like that, with no #ifdef's will break people building
> for Xorg 1.9 an
; --- a/include/drm/i915_drm.h
> +++ b/include/drm/i915_drm.h
> @@ -27,6 +27,7 @@
> #ifndef _I915_DRM_H_
> #define _I915_DRM_H_
>
> +#include
> #include "drm.h"
drm.h includes it, safely tucked inside #ifdef __linux__ so it won't
break BSD & OpenSolar
tent with the current code shape and form).
>
> I think the idea of sharing kernel drm code is pretty much dead, yeah.
We are still trying to keep it alive, despite what some may think.
--
-Alan Coopersmith-alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
orking for companies who have declined to pay for travel). Contact
board at foundation.x.org with requests.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
; then
else
if test "x$INTEL" != "xno"; then
- case $host_os in
- i?86-*|x86_64-*) INTEL=yes ;;
+ case $host_cpu in
+ i?86|x86_64) INTEL=yes ;;
*) INT
rks if you force the hostnames
to resolve to 131.252.210.176 instead of the DNS reported 131.252.210.161.
--
-Alan Coopersmith-alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
Signed-off-by: Alan Coopersmith
---
include/drm/drm_fourcc.h |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
index b1107cb..85facb0 100644
--- a/include/drm/drm_fourcc.h
+++ b/include/drm/drm_fourcc.h
@@ -24,10
On 08/03/11 09:31, Alexandre Demers wrote:
> From what I understand, and correct me if I'm wrong, but libpciaccess is
> related to X.
X uses it, but libpciaccess is an abstraction of access to the PCI bus,
which can be (and is) used by non-X programs as well.
--
-Alan
; --- a/include/drm/i915_drm.h
> +++ b/include/drm/i915_drm.h
> @@ -27,6 +27,7 @@
> #ifndef _I915_DRM_H_
> #define _I915_DRM_H_
>
> +#include
> #include "drm.h"
drm.h includes it, safely tucked inside #ifdef __linux__ so it won't
break BSD & OpenSolar
radeon_open_drm_master(ScrnInfoPtr pScrn)
> goto out;
> }
>
> -busid = XNFprintf("pci:%04x:%02x:%02x.%d",
> +busid = XNFasprintf("pci:%04x:%02x:%02x.%d",
A straight replacement like that, with no #ifdef's will break people buil
On 02/25/11 02:32 PM, Alan Coopersmith wrote:
>> -busid = XNFprintf("pci:%04x:%02x:%02x.%d",
>> +busid = XNFasprintf("pci:%04x:%02x:%02x.%d",
>
> A straight replacement like that, with no #ifdef's will break people building
> for Xorg 1.9 an
patch Solaris into working and
let upstream use the common section numbers for the rest.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
y ask us - just saying
we're happy to discuss it, and have provided similar funding in the
past for people who needed it to present at FOSDEM & similar venues.)
Send mail to board at foundation.x.org with any questions or proposals.
--
-Alan Coopersmith- alan.c
Needed for the definitions of major() & minor() used in
drmGetNodeTypeFromFd() and makedev() used in drmOpenMinor()
Signed-off-by: Alan Coopersmith
---
configure.ac |2 ++
xf86drm.c|3 +++
2 files changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 8af
On 03/ 9/15 05:37 AM, Emil Velikov wrote:
> The former does not imply the latter and vice-versa. One such example is
> the Sun compiler.
>
> Cc: Alan Coopersmith
> Cc: Thierry Reding
> Signed-off-by: Emil Velikov
> ---
>
> Hi Alan,
> Can you please take a look it
---
include/drm/drm.h | 13 +
xf86drm.c |7 +++
2 files changed, 20 insertions(+)
diff --git a/include/drm/drm.h b/include/drm/drm.h
index 229a29f..ec96620 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -210,12 +210,22 @@ struct drm_ctx_priv_map {
* \sa
Signed-off-by: Alan Coopersmith
---
xf86drm.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/xf86drm.h b/xf86drm.h
index 40c55c9..781c323 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -56,9 +56,17 @@ extern "C" {
#define DRM_IOC_READWRITE _IOC_READ|
On 03/20/15 10:30 AM, Emil Velikov wrote:
> On 09/03/15 12:37, Emil Velikov wrote:
>> The former does not imply the latter and vice-versa. One such example is
>> the Sun compiler.
>>
>> Cc: Alan Coopersmith
>> Cc: Thierry Reding
>> Signed-off-by: Emil Ve
://www.youtube.com/watch?v=Z5uY01QlyK0
http://lca2015.linux.org.au/schedule/30178/view_talk
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
Linux seems to pick this up via another header, but Solaris needs it
explictly included, or we get undefined symbol errors for major & minor.
Signed-off-by: Alan Coopersmith
---
libkms/linux.c |1 +
1 file changed, 1 insertion(+)
diff --git a/libkms/linux.c b/libkms/linux.c
index 4d4
On 07/ 8/15 09:19 AM, Emil Velikov wrote:
> Hi Alan
>
> On 7 July 2015 at 01:45, Alan Coopersmith
> wrote:
>> Linux seems to pick this up via another header, but Solaris needs it
>> explictly included, or we get undefined symbol errors for major & minor.
>>
Linux seems to pick these up via another header, but Solaris needs them
explictly included, or we get undefined symbol errors for major & minor.
v2: use headers documented in makedev(3C) man page instead of sysmacros.h
Signed-off-by: Alan Coopersmith
---
libkms/linux.c |2 ++
1
On 07/ 8/15 10:59 AM, Emil Velikov wrote:
> On 8 July 2015 at 18:41, Alan Coopersmith
> wrote:
>> Linux seems to pick these up via another header, but Solaris needs them
>> explictly included, or we get undefined symbol errors for major & minor.
>>
>> v2: us
Fixes "error: implicit declaration of function 'alloca'" failures
when building on Solaris
Signed-off-by: Alan Coopersmith
---
amdgpu/amdgpu_cs.c |3 +++
tests/amdgpu/basic_tests.c |3 +++
2 files changed, 6 insertions(+)
diff --git a/amdgpu/amdgpu_cs.c
avoid polluting others namespace.
Regression introduced in 87fdd32c8779648 Add NetBSD atomic ops support.
Signed-off-by: Alan Coopersmith
---
xf86atomic.h |9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/xf86atomic.h b/xf86atomic.h
index e794af8..8c4b696 100644
---
On 04/ 1/15 09:15 AM, Emil Velikov wrote:
> The former does not imply the latter and vice-versa. One such example is
> the Sun compiler.
>
> v2: Add missing closing brakets. (Alan)
s/brakets/brackets/
Other than that, looks good to me.
Reviewed-by: Alan Coopersmith
>
> Cc
38 matches
Mail list logo