Re: [PATCH libdrm] meson: Fix sys/mkdev.h detection on Solaris

2019-09-13 Thread Alan Coopersmith
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

[PATCH libdrm] meson: Fix sys/mkdev.h detection on Solaris

2019-09-09 Thread Alan Coopersmith
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

[PATCH] Mark drmServerInfo.debug_print with printf attribute

2013-12-11 Thread Alan Coopersmith
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

Re: FOSDEM2013: DevRoom or not?

2012-08-12 Thread Alan Coopersmith
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 ___

Re: [PATCH libdrm 0/4] Overview man-pages for libdrm

2012-09-24 Thread Alan Coopersmith
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

Re: [PATCH 3/3] drm: do not sleep on vblank while holding a mutex

2011-10-27 Thread Alan Coopersmith
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

Re: [PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-02-01 Thread Alan Coopersmith
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

Re: anongit.freedesktop.org not available?

2012-02-01 Thread Alan Coopersmith
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-

[PATCH:libdrm] Make drm/drm_fourcc.h portable to non-linux platforms

2012-02-02 Thread Alan Coopersmith
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

FOSS.in Call for Participation

2012-06-27 Thread Alan Coopersmith
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

Re: Why does libdrm-intel needs libpciaccess?

2011-08-03 Thread Alan Coopersmith
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

Re: [PATCH] kms: Fix warning XNFprintf is deprecated

2011-02-25 Thread Alan Coopersmith
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

Re: [PATCH] kms: Fix warning XNFprintf is deprecated

2011-02-26 Thread Alan Coopersmith
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

Re: [PATCH]: i915: Fix missing linux/types.h warning in header

2010-05-27 Thread Alan Coopersmith
; --- 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

[PATCH 3/3] drm: do not sleep on vblank while holding a mutex

2011-10-27 Thread Alan Coopersmith
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

FOSDEM2013: DevRoom or not?

2012-08-12 Thread Alan Coopersmith
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

[PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-02-01 Thread Alan Coopersmith
; 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

anongit.freedesktop.org not available?

2012-02-01 Thread Alan Coopersmith
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

[PATCH:libdrm] Make drm/drm_fourcc.h portable to non-linux platforms

2012-02-02 Thread Alan Coopersmith
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

Why does libdrm-intel needs libpciaccess?

2011-08-03 Thread Alan Coopersmith
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

[PATCH]: i915: Fix missing linux/types.h warning in header

2010-05-27 Thread Alan Coopersmith
; --- 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

[PATCH] kms: Fix warning XNFprintf is deprecated

2011-02-25 Thread Alan Coopersmith
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

[PATCH] kms: Fix warning XNFprintf is deprecated

2011-02-26 Thread Alan Coopersmith
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 libdrm 0/4] Overview man-pages for libdrm

2012-09-24 Thread Alan Coopersmith
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

FOSS.in Call for Participation

2012-06-27 Thread Alan Coopersmith
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

[PATCH:libdrm] On Solaris, #include in xf86drm.c

2015-03-07 Thread Alan Coopersmith
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

Solaris & [PATCH libdrm 1/2] configure.ac: split -fvisibility and __attribute__((visibility)) checks

2015-03-22 Thread Alan Coopersmith
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

[PATCH:libdrm 1/2] Make data passed to ioctl's on Solaris match the Solaris kernel DRI implementation

2008-06-17 Thread Alan Coopersmith
--- 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

[PATCH:libdrm 2/2] Add _IOC definition for Solaris/OpenSolaris

2009-12-16 Thread Alan Coopersmith
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|

[PATCH libdrm 1/2] configure.ac: split -fvisibility and __attribute__((visibility)) checks

2015-03-22 Thread Alan Coopersmith
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

videos of X, DRM, & Mesa talks from LCA2015

2015-01-23 Thread Alan Coopersmith
://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

[PATCH:libdrm] include directly for major() and minor()

2015-07-06 Thread Alan Coopersmith
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

[PATCH:libdrm] include directly for major() and minor()

2015-07-08 Thread Alan Coopersmith
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. >>

[PATCH:libdrm] include & directly for major() and minor()

2015-07-08 Thread Alan Coopersmith
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

[PATCH:libdrm] include & directly for major() and minor()

2015-07-08 Thread Alan Coopersmith
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

[PATCH:libdrm] Include when needed before calling alloca

2015-09-06 Thread Alan Coopersmith
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

[PATCH:libdrm] Stop undefining _ATOMIC_TYPE in Solaris/NetBSD section of xf86atomic.h

2015-02-07 Thread Alan Coopersmith
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 ---

[PATCH libdrm 01/24] configure.ac: split -fvisibility and __attribute__((visibility)) checks

2015-04-07 Thread Alan Coopersmith
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