* [Bug 91985] [regression, bisected] FTBFS with commit f9f5c92f73: R600_UCP_CONST_BUFFER is undefined
@ 2015-09-12 8:17 bugzilla-daemon
2015-09-12 8:20 ` bugzilla-daemon
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-09-12 8:17 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2201 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=91985
Bug ID: 91985
Summary: [regression, bisected] FTBFS with commit f9f5c92f73:
R600_UCP_CONST_BUFFER is undefined
Product: Mesa
Version: git
Hardware: All
OS: All
Status: NEW
Keywords: bisected, regression
Severity: blocker
Priority: highest
Component: Drivers/Gallium/r600
Assignee: dri-devel@lists.freedesktop.org
Reporter: kai@dev.carbon-project.org
QA Contact: dri-devel@lists.freedesktop.org
CC: vljn@ovi.com
The following commit makes compiling Mesa with --enable-opencl impossible,
since that pulls r600_llvm.c in.
commit f9f5c92f734c517c1bd486f5a3b1931ea6f871a5
Author: Vincent Lejeune <vljn@ovi.com>
Date: Sat Jan 19 22:27:16 2013 +0100
r600g/llvm: Fixes addressspace of basevectors for clipvertex
Excerpt from build log:
> ../../../../../../src/gallium/drivers/r600/r600_llvm.c: In function 'llvm_emit_epilogue':
> ../../../../../../src/gallium/drivers/r600/r600_llvm.c:25:70: error: 'R600_UCP_CONST_BUFFER' undeclared (first use in this function)
> #define CONSTANT_BUFFER_1_ADDR_SPACE (CONSTANT_BUFFER_0_ADDR_SPACE + R600_UCP_CONST_BUFFER)
> ^
> ../../../../../../src/gallium/drivers/r600/r600_llvm.c:271:75: note: in expansion of macro 'CONSTANT_BUFFER_1_ADDR_SPACE'
> LLVMValueRef base_vector = llvm_load_const_buffer(bld_base, offset, CONSTANT_BUFFER_1_ADDR_SPACE);
> ^
> ../../../../../../src/gallium/drivers/r600/r600_llvm.c:25:70: note: each undeclared identifier is reported only once for each function it appears in
> #define CONSTANT_BUFFER_1_ADDR_SPACE (CONSTANT_BUFFER_0_ADDR_SPACE + R600_UCP_CONST_BUFFER)
> ^
> ../../../../../../src/gallium/drivers/r600/r600_llvm.c:271:75: note: in expansion of macro 'CONSTANT_BUFFER_1_ADDR_SPACE'
> LLVMValueRef base_vector = llvm_load_const_buffer(bld_base, offset, CONSTANT_BUFFER_1_ADDR_SPACE);
> ^
> Makefile:834: recipe for target 'r600_llvm.lo' failed
> make[4]: *** [r600_llvm.lo] Error 1
Please revert or fix.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3771 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 91985] [regression, bisected] FTBFS with commit f9f5c92f73: R600_UCP_CONST_BUFFER is undefined
2015-09-12 8:17 [Bug 91985] [regression, bisected] FTBFS with commit f9f5c92f73: R600_UCP_CONST_BUFFER is undefined bugzilla-daemon
@ 2015-09-12 8:20 ` bugzilla-daemon
2015-09-12 8:24 ` [Bug 91985] [regression, bisected] FTBFS with commit f9caabe8f1: " bugzilla-daemon
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-09-12 8:20 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 954 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=91985
--- Comment #1 from Ilia Mirkin <imirkin@alum.mit.edu> ---
Seems more likely that the culprit is
>From f9caabe8f1bff86d19b53d9ecba5c72b238d9e23 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Fri, 11 Sep 2015 04:43:53 +0100
Subject: r600g: lower number of driver const buffers
I'm going to want a driver constant buffer for tess to coordinate
LDS storage, so before I go tackling that I decided to merge the
clip/samplepos and texture info buffers into one. So I can steal
the spare one.
This creates a single constant buffer between the two, with
clip/samplepos taking up a reserved 128 bytes at the start.
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
than a commit from 2013...
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2026 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 91985] [regression, bisected] FTBFS with commit f9caabe8f1: R600_UCP_CONST_BUFFER is undefined
2015-09-12 8:17 [Bug 91985] [regression, bisected] FTBFS with commit f9f5c92f73: R600_UCP_CONST_BUFFER is undefined bugzilla-daemon
2015-09-12 8:20 ` bugzilla-daemon
@ 2015-09-12 8:24 ` bugzilla-daemon
2015-09-12 8:25 ` bugzilla-daemon
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-09-12 8:24 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1681 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=91985
Kai <kai@dev.carbon-project.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|vljn@ovi.com |airlied@freedesktop.org
Summary|[regression, bisected] |[regression, bisected]
|FTBFS with commit |FTBFS with commit
|f9f5c92f73: |f9caabe8f1:
|R600_UCP_CONST_BUFFER is |R600_UCP_CONST_BUFFER is
|undefined |undefined
--- Comment #2 from Kai <kai@dev.carbon-project.org> ---
Ahrg, pasted wrong commit, the following is the correct one:
commit f9caabe8f1bff86d19b53d9ecba5c72b238d9e23
Author: Dave Airlie <airlied@redhat.com>
Date: Fri Sep 11 04:43:53 2015 +0100
r600g: lower number of driver const buffers
I'm going to want a driver constant buffer for tess to coordinate
LDS storage, so before I go tackling that I decided to merge the
clip/samplepos and texture info buffers into one. So I can steal
the spare one.
This creates a single constant buffer between the two, with
clip/samplepos taking up a reserved 128 bytes at the start.
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
It's basically that R600_UCP_CONST_BUFFER was replaced by
R600_BUFFER_INFO_CONST_BUFFER AFAICT and this place in r600_llvm.c was
forgotten.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3305 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 91985] [regression, bisected] FTBFS with commit f9caabe8f1: R600_UCP_CONST_BUFFER is undefined
2015-09-12 8:17 [Bug 91985] [regression, bisected] FTBFS with commit f9f5c92f73: R600_UCP_CONST_BUFFER is undefined bugzilla-daemon
2015-09-12 8:20 ` bugzilla-daemon
2015-09-12 8:24 ` [Bug 91985] [regression, bisected] FTBFS with commit f9caabe8f1: " bugzilla-daemon
@ 2015-09-12 8:25 ` bugzilla-daemon
2015-09-12 8:41 ` bugzilla-daemon
2015-09-13 6:35 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-09-12 8:25 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1233 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=91985
--- Comment #3 from Kai <kai@dev.carbon-project.org> ---
(In reply to Ilia Mirkin from comment #1)
> Seems more likely that the culprit is
>
> From f9caabe8f1bff86d19b53d9ecba5c72b238d9e23 Mon Sep 17 00:00:00 2001
> From: Dave Airlie <airlied@redhat.com>
> Date: Fri, 11 Sep 2015 04:43:53 +0100
> Subject: r600g: lower number of driver const buffers
>
> I'm going to want a driver constant buffer for tess to coordinate
> LDS storage, so before I go tackling that I decided to merge the
> clip/samplepos and texture info buffers into one. So I can steal
> the spare one.
>
> This creates a single constant buffer between the two, with
> clip/samplepos taking up a reserved 128 bytes at the start.
>
> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
> Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
> Signed-off-by: Dave Airlie <airlied@redhat.com>
>
> than a commit from 2013...
Yes, I had – after looking with git blame at r600_llvm.c – the wrong commit in
my clipboard and worked with that. Since both start with f9 I didn't notice.
Sorry.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2450 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 91985] [regression, bisected] FTBFS with commit f9caabe8f1: R600_UCP_CONST_BUFFER is undefined
2015-09-12 8:17 [Bug 91985] [regression, bisected] FTBFS with commit f9f5c92f73: R600_UCP_CONST_BUFFER is undefined bugzilla-daemon
` (2 preceding siblings ...)
2015-09-12 8:25 ` bugzilla-daemon
@ 2015-09-12 8:41 ` bugzilla-daemon
2015-09-13 6:35 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-09-12 8:41 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=91985
--- Comment #4 from Kai <kai@dev.carbon-project.org> ---
I've sent a patch to the mailing list:
http://thread.gmane.org/gmane.comp.video.mesa3d.devel/112810
It at least compiles again for me, but I can't say for sure, if this is the
correct fix.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1289 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 91985] [regression, bisected] FTBFS with commit f9caabe8f1: R600_UCP_CONST_BUFFER is undefined
2015-09-12 8:17 [Bug 91985] [regression, bisected] FTBFS with commit f9f5c92f73: R600_UCP_CONST_BUFFER is undefined bugzilla-daemon
` (3 preceding siblings ...)
2015-09-12 8:41 ` bugzilla-daemon
@ 2015-09-13 6:35 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-09-13 6:35 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1104 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=91985
Kai <kai@dev.carbon-project.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Kai <kai@dev.carbon-project.org> ---
Fixed by:
commit d6fbcf6ee28c273b37bf293aea5faf77253029a3
Author: Kai Wasserbäch <kai@dev.carbon-project.org>
Date: Sat Sep 12 10:39:50 2015 +0200
r600: Fix llvm build since const buffer changes
In commit f9caabe8f1bff86d19b53d9ecba5c72b238d9e23:
One place in r600_llvm.c was forgotten when replacing
R600_UCP_CONST_BUFFER with R600_BUFFER_INFO_CONST_BUFFER.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91985
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Thanks to Dave, for commiting this!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3114 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-09-13 6:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-12 8:17 [Bug 91985] [regression, bisected] FTBFS with commit f9f5c92f73: R600_UCP_CONST_BUFFER is undefined bugzilla-daemon
2015-09-12 8:20 ` bugzilla-daemon
2015-09-12 8:24 ` [Bug 91985] [regression, bisected] FTBFS with commit f9caabe8f1: " bugzilla-daemon
2015-09-12 8:25 ` bugzilla-daemon
2015-09-12 8:41 ` bugzilla-daemon
2015-09-13 6:35 ` bugzilla-daemon
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.