Displaying 12 results from an estimated 12 matches for "buffer_offset".
2009 Sep 07
2
file->buffer_offset + file->buffer->used == file->sync_offset
I got the following panic on 1.2.3:
Panic: file mail-transaction-log-append.c: line 88 (log_buffer_move_to_memory): assertion failed: (file->buffer_offset + file->buffer->used == file->sync_offset)
It's probably related to the file system holding the indexes being full.
2004 Jul 30
0
patch for test31 compile problem
If you grab test31 you might want to apply this small patch.
*** dovecot-1.0-test31/src/lib-ntlm/ntlm-message.c Fri Jul 30 05:00:19 2004
--- ../dovecot-1.0-test31/src/lib-ntlm/ntlm-message.c Fri Jul 30 09:23:42 2004
***************
*** 76,83 ****
va_start(args, buffer_offset);
do {
- type = va_arg(args, int);
const char *data;
memset(&info, 0, sizeof(info));
write_le16(&info.type, type);
--- 76,83 ----
va_start(args, buffer_offset);
do {
const char *da...
2009 Oct 14
0
[PATCH 3/7] nv50: submit user vbo data through the fifo
...i);
+ if (nv50->vbo_fifo) {
+ so_method(vtxbuf, tesla,
+ NV50TCL_VERTEX_ARRAY_FORMAT(i), 1);
+ so_data (vtxbuf, 0);
+ continue;
+ }
+
so_method(vtxbuf, tesla, NV50TCL_VERTEX_ARRAY_FORMAT(i), 3);
so_data (vtxbuf, 0x20000000 | vb->stride);
so_reloc (vtxbuf, bo, vb->buffer_offset +
@@ -385,6 +434,13 @@ nv50_vbo_validate(struct nv50_context *nv50)
NOUVEAU_BO_VRAM | NOUVEAU_BO_GART | NOUVEAU_BO_RD |
NOUVEAU_BO_LOW, 0, 0);
}
+ for (; i < n_ve; ++i) {
+ so_data (vtxfmt, 0x7e080010);
+
+ so_method(vtxbuf, tesla, NV50TCL_VERTEX_ARRAY_FORMAT(i), 1);
+ so_data...
2015 Nov 19
7
[Bug 93004] New: Guild Wars 2 crash on nouveau DX11 cards
https://bugs.freedesktop.org/show_bug.cgi?id=93004
Bug ID: 93004
Summary: Guild Wars 2 crash on nouveau DX11 cards
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau at
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...+++ b/src/gallium/drivers/nv50/nv50_vbo.c
@@ -325,8 +325,10 @@ nv50_vbo_static_attrib(struct nv50_context *nv50, unsigned attrib,
return FALSE;
ret = nouveau_bo_map(bo, NOUVEAU_BO_RD);
- if (ret)
+ if (ret) {
+ nouveau_bo_unmap(bo);
return FALSE;
+ }
v = (float *)(bo->map + (vb->buffer_offset + ve->src_offset));
so = *pso;
--
1.6.5.4
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...+++ b/src/gallium/drivers/nv50/nv50_vbo.c
@@ -325,8 +325,10 @@ nv50_vbo_static_attrib(struct nv50_context *nv50, unsigned attrib,
return FALSE;
ret = nouveau_bo_map(bo, NOUVEAU_BO_RD);
- if (ret)
+ if (ret) {
+ nouveau_bo_unmap(bo);
return FALSE;
+ }
v = (float *)(bo->map + (vb->buffer_offset + ve->src_offset));
so = *pso;
--
1.6.5.4
2013 Jan 25
1
assert in mail-transaction-log-file.c
..., indexid = 1359082912, file_seq = 2, prev_file_seq = 0, prev_file_offset = 0,
create_stamp = 1359082912, initial_modseq = 0, compat_flags = 1 '\001', unused = "\000\000", unused2 = 0}, mmap_buffer = {data = 0x0, used = 0, priv = {0x0, 0x0, 0x0, 0x0,
0x0}}, buffer = 0x0, buffer_offset = 0, mmap_base = 0x0, mmap_size = 0, sync_offset = 40, sync_highest_modseq = 0, saved_tail_offset = 0, max_tail_offset = 0,
saved_tail_sync_offset = 0, index_deleted_offset = 0, index_undeleted_offset = 0, modseq_cache = {{offset = 0, highest_modseq = 0}, {offset = 0, highest_modseq = 0}, {...
2004 Oct 22
1
[PATCH] support OEM encoding in NTLM messages
...r ( ; *str; str++) {
buffer_append_c(buf, ucase ? toupper(*str) : *str);
- buffer_append_c(buf, 0);
- length += sizeof(ucs2le_t);
+ if (unicode) {
+ buffer_append_c(buf, 0);
+ length++;
+ }
+ length++;
}
return length;
}
static void ntlmssp_append_string(buffer_t *buf, size_t buffer_offset,
- const char *str)
+ const char *str, int unicode)
{
struct ntlmssp_buffer buffer;
unsigned int length;
write_le32(&buffer.offset, buffer_get_used_size(buf));
- length = append_string(buf, str, 0);
+ length = append_string(buf, str, 0, unicode);
write_le16(&buffer....
2014 Jul 01
1
[PATCH 1/2] nv50: do an explicit flush on draw when there are persistent buffers
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/nv50/nv50_context.c | 22 ++++++++++++++++++-
src/gallium/drivers/nouveau/nv50/nv50_context.h | 1 +
src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 29 ++++++++++++++++++++++++-
3 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.c
2014 Nov 27
0
[Mesa-dev] [RFC] tegra: Initial support
...gt;set_index_buffer(context->gpu, buffer);
> +}
> +
> +static struct pipe_stream_output_target *
> +tegra_create_stream_output_target(struct pipe_context *pcontext,
> + struct pipe_resource *presource,
> + unsigned buffer_offset,
> + unsigned buffer_size)
> +{
> + struct tegra_resource *resource = to_tegra_resource(presource);
> + struct tegra_context *context = to_tegra_context(pcontext);
> +
> + return context->gpu->create_stream_output_target(cont...
2009 Aug 25
3
[Bug 23505] New: KDE's Kubrick has problems with xf86-video-nouveau driver
http://bugs.freedesktop.org/show_bug.cgi?id=23505
Summary: KDE's Kubrick has problems with xf86-video-nouveau
driver
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: nouveau at
2014 Nov 27
7
[RFC] tegra: Initial support
...= tegra_resource_unwrap(buf.buffer);
+ buffer = &buf;
+ }
+
+ context->gpu->set_index_buffer(context->gpu, buffer);
+}
+
+static struct pipe_stream_output_target *
+tegra_create_stream_output_target(struct pipe_context *pcontext,
+ struct pipe_resource *presource,
+ unsigned buffer_offset,
+ unsigned buffer_size)
+{
+ struct tegra_resource *resource = to_tegra_resource(presource);
+ struct tegra_context *context = to_tegra_context(pcontext);
+
+ return context->gpu->create_stream_output_target(context->gpu,
+ resource->gpu,
+ buffer_offset,
+ bu...