Re: [Mesa-dev] gitlab.fd.o financial situation and impact on services

2020-02-29 Thread Jan Engelhardt

On Friday 2020-02-28 08:59, Daniel Stone wrote:
>
>I believe that in January, we had $2082 of network cost (almost
>entirely egress; ingress is basically free) and $1750 of
>cloud-storage cost (almost all of which was download). That's based
>on 16TB of cloud-storage (CI artifacts, container images, file
>uploads, Git LFS) egress and 17.9TB of other egress (the web service
>itself, repo activity). Projecting that out [×12 for a year] gives
>us roughly $45k of network activity alone,

I had come to a similar conclusion a few years back: It is not very
economic to run ephemereal buildroots (and anything like it) between
two (or more) "significant locations" of which one end is located in
a Large Cloud datacenter like EC2/AWS/etc.

As for such usecases, me and my surrounding peers have used (other)
offerings where there is 50 TB free network/month, and yes that may
have entailed doing more adminning than elsewhere - but an admin 
appreciates $2000 a lot more than a corporation, too.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] libdrm: fix rpmlint warnings

2012-07-08 Thread Jan Engelhardt


The build of libdrm-2.4.37 was rejected on the Open Build Service
due to compiler warnings rpmlint considers severe enough to abort.

==

The following changes since commit 881e69f185d2450ca35964caf254b04e7e8838c1:

  libdrm/exynos: padding gem_mmap structure to 64-bit aligned (2012-07-06 
16:36:31 +0200)

are available in the git repository at:
  git://git.inai.de/libdrm master

Jan Engelhardt (2):
  libdrm: fix compile warning
  libdrm: more compile warning fixes

 0001.diff |   30 ++
 tests/modetest/modetest.c |2 +-
 xf86drmSL.c   |2 +-
 3 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 0001.diff
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 1/2] libdrm: fix compile warning

2012-07-08 Thread Jan Engelhardt
xf86drmSL.c:273:8: warning: 'update[0]' is used uninitialized in this function 
[-Wuninitialized]

I have no idea what to really do here. The code is essentially unused
because update[0] is always NULL.
---
 xf86drmSL.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xf86drmSL.c b/xf86drmSL.c
index acddb54..94be22f 100644
--- a/xf86drmSL.c
+++ b/xf86drmSL.c
@@ -264,7 +264,7 @@ int drmSLLookupNeighbors(void *l, unsigned long key,
 unsigned long *next_key, void **next_value)
 {
 SkipListPtr   list = (SkipListPtr)l;
-SLEntryPtrupdate[SL_MAX_LEVEL + 1];
+SLEntryPtrupdate[SL_MAX_LEVEL + 1] = {0};
 int   retcode = 0;
 
 *prev_key   = *next_key   = key;
-- 
1.7.7

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 2/2] libdrm: more compile warning fixes

2012-07-08 Thread Jan Engelhardt
rpmlint says:
I: Program returns random data in a function
E: libdrm no-return-in-nonvoid-function modetest.c:162, 143
---
 0001.diff |   30 ++
 tests/modetest/modetest.c |2 +-
 2 files changed, 31 insertions(+), 1 deletions(-)
 create mode 100644 0001.diff

diff --git a/0001.diff b/0001.diff
new file mode 100644
index 000..697d30c
--- /dev/null
+++ b/0001.diff
@@ -0,0 +1,30 @@
+parent 881e69f185d2450ca35964caf254b04e7e8838c1 (libdrm-2.4.37-2-g881e69f)
+commit 8726f476118b0c97fdcee6866df1f6575b879cb3
+Author: Jan Engelhardt 
+Date:   Mon Jul 9 03:20:16 2012 +0200
+
+libdrm: fix compile warning
+
+xf86drmSL.c:273:8: warning: 'update[0]' is used uninitialized in this function 
[-Wuninitialized]
+
+I have no idea what to really do here. The code is essentially unused
+because update[0] is always NULL.
+---
+ xf86drmSL.c |2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/xf86drmSL.c b/xf86drmSL.c
+index acddb54..94be22f 100644
+--- a/xf86drmSL.c
 b/xf86drmSL.c
+@@ -264,7 +264,7 @@ int drmSLLookupNeighbors(void *l, unsigned long key,
+unsigned long *next_key, void **next_value)
+ {
+ SkipListPtr   list = (SkipListPtr)l;
+-SLEntryPtrupdate[SL_MAX_LEVEL + 1];
++SLEntryPtrupdate[SL_MAX_LEVEL + 1] = {0};
+ int   retcode = 0;
+ 
+ *prev_key   = *next_key   = key;
+-- 
+# Created with git-export-patch
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index ec3121e..28a3a5c 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -119,7 +119,7 @@ struct type_name connector_type_names[] = {
 type_name_fn(connector_type)
 
 #define bit_name_fn(res)   \
-char * res##_str(int type) {   \
+void res##_str(int type) { \
int i;  \
const char *sep = "";   \
for (i = 0; i < ARRAY_SIZE(res##_names); i++) { \
-- 
1.7.7

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH 2/2] libdrm: more compile warning fixes

2012-07-08 Thread Jan Engelhardt
On Monday 2012-07-09 03:46, Jan Engelhardt wrote:

>rpmlint says:
>I: Program returns random data in a function
>E: libdrm no-return-in-nonvoid-function modetest.c:162, 143
>---
> 0001.diff |   30 ++

Sigh. I removed this now and repushed.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH 3/9] Rename sparc/clip.S -> sparc/sparc_clip.S

2012-07-09 Thread Jan Engelhardt
On Monday 2012-07-09 13:41, Jon TURNEY wrote:

>Automake can't handle having both clip.S and clip.c, even though they 
>have different paths
>"src/mesa/Makefile.am: object `clip.lo' created by `$(SRCDIR)/sparc/clip.S' 
>and `$(SRCDIR)/main/clip.c'"

It should - have you tried AM_INIT_AUTOMAKE([subdir-objects]) ?

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH] build: resolve EGL link failure

2012-10-24 Thread Jan Engelhardt
Without this, linking weston fails with:

libEGL.so: undefined reference to "wl_display_sync"
[and other wl_ functions]
---
 src/egl/drivers/dri2/Makefile.am |1 +
 1 file changed, 1 insertion(+)

diff --git a/src/egl/drivers/dri2/Makefile.am b/src/egl/drivers/dri2/Makefile.am
index 45f7dfa..53cbb6e 100644
--- a/src/egl/drivers/dri2/Makefile.am
+++ b/src/egl/drivers/dri2/Makefile.am
@@ -54,6 +54,7 @@ endif
 
 if HAVE_EGL_PLATFORM_WAYLAND
 libegl_dri2_la_SOURCES += platform_wayland.c
+libegl_dri2_la_LIBADD += $(WAYLAND_LIBS)
 AM_CFLAGS += -DHAVE_WAYLAND_PLATFORM
 AM_CFLAGS += $(WAYLAND_CFLAGS)
 endif
-- 
1.7.10.4

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev