search for: debug_printf

Displaying 20 results from an estimated 36 matches for "debug_printf".

2009 Feb 22
2
NEW: COM32 module to run another command, optionally clearing the screen
...em */ #ifdef MAX_CMDLINE_LEN #define RUN_CMD_SZ MAX_CMDLINE_LEN #else #ifdef COMMAND_LINE_SIZE #define RUN_CMD_SZ COMMAND_LINE_SIZE #else #define RUN_CMD_SZ 2048 #endif /* COMMAND_LINE_SIZE */ #endif /* MAX_CMDLINE_LEN */ #define NUM_NL 40 /* Number of lines to clear */ #ifdef DO_DEBUG # define DEBUG_PRINTF printf #else # define DEBUG_PRINTF(f, ...) ((void)0) #endif /* DO_DEBUG */ #define APP_LONGNAME "Run COM32" #define APP_NAME "run" #define APP_YEAR "2009" #define APP_AUTHOR "Gene Cumm" #define APP_VER "beta-b005" int main(int argc, char *argv[])...
2009 Dec 13
3
[PATCH] nouveau: avoid running out of relocs (attempt 5)
...unsigned nr, i; + int ret = 0; nr = so->cur - so->push; - if (pb->remaining < nr) - nouveau_pushbuf_flush(chan, nr); + /* This will flush if we need space. + * We don't actually need the marker. + */ + if ((ret = nouveau_pushbuf_marker_emit(chan, nr, so->cur_reloc))) { + debug_printf("so_emit failed marker emit with error %d\n", ret); + return; + } pb->remaining -= nr; memcpy(pb->cur, so->push, nr * 4); for (i = 0; i < so->cur_reloc; i++) { struct nouveau_stateobj_reloc *r = &so->reloc[i]; - nouveau_pushbuf_emit_reloc(chan, pb->...
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...ct pipe_buffer *pb, unsigned usage) { struct nouveau_bo *bo = nouveau_bo(pb); + struct nouveau_screen *nscreen = nouveau_screen(pscreen); int ret; + if (nscreen->pre_pipebuffer_map_callback) { + ret = nscreen->pre_pipebuffer_map_callback(pscreen, pb, usage); + if (ret) { + debug_printf("pre_pipebuffer_map_callback failed %d\n", + ret); + return NULL; + } + } + ret = nouveau_bo_map(bo, nouveau_screen_map_flags(usage)); if (ret) { debug_printf("map failed: %d\n", ret); @@ -143,11 +153,22 @@ nouveau_screen_bo_map_range(struct pipe_screen *pscreen, st...
2009 Dec 05
1
[PATCH] nouveau: avoid running out of relocs (attempt 4)
...unsigned nr, i; + int ret = 0; nr = so->cur - so->push; - if (pb->remaining < nr) - nouveau_pushbuf_flush(chan, nr); + /* This will flush if we need space. + * We don't actually need the marker. + */ + if ((ret = nouveau_pushbuf_marker_emit(chan, nr, so->cur_reloc))) { + debug_printf("so_emit failed marker emit with error %d\n", ret); + return; + } pb->remaining -= nr; memcpy(pb->cur, so->push, nr * 4); for (i = 0; i < so->cur_reloc; i++) { struct nouveau_stateobj_reloc *r = &so->reloc[i]; - nouveau_pushbuf_emit_reloc(chan, pb->...
2014 May 18
2
[PATCH] nvc0: maxwell has a new video engine, don't return a decoder object
...77,6 +77,9 @@ nvc0_create_decoder(struct pipe_context *context, if (getenv("XVMC_VL")) return vl_create_decoder(context, templ); + if (screen->device->chipset >= 0x110) + return NULL; + if (templ->entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) { debug_printf("%x\n", templ->entrypoint); return NULL; -- 1.8.5.5
2014 Jun 18
1
[PATCH 1/2] nv30: tidy screen caps, add missing ones
...T_4BYTE_ALIGNED_ONLY: - case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY: - case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY: - case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER: - return 1; - case PIPE_CAP_ENDIANNESS: - return PIPE_ENDIAN_LITTLE; - default: - debug_printf("unknown param %d\n", param); + case PIPE_CAP_USER_VERTEX_BUFFERS: + case PIPE_CAP_COMPUTE: return 0; } + + debug_printf("unknown param %d\n", param); + return 0; } static float -- 1.8.5.5
2010 Feb 03
0
libfishsound 1.0.0 Release
...nce release including the result of security review and bug fixes included in the Mozilla Firefox 3.5 release. It is API and ABI backwards-compatible with all libfishsound releases since 0.6.0 (released Mar 23 2004). This release contains security and other bugfixes: Conrad Parker (19): use debug_printf() for debugging update ChangeLog with notes from 0.9.1, 0.9.2 disable debug_printf for MSVC, no variadic macros update README with current text from release notes update debug_printf for MSVC Mozilla 506875: fish_sound_comments_decode leaks Debian #534744, Mozill...
2010 Feb 03
0
libfishsound 1.0.0 Release
...nce release including the result of security review and bug fixes included in the Mozilla Firefox 3.5 release. It is API and ABI backwards-compatible with all libfishsound releases since 0.6.0 (released Mar 23 2004). This release contains security and other bugfixes: Conrad Parker (19): use debug_printf() for debugging update ChangeLog with notes from 0.9.1, 0.9.2 disable debug_printf for MSVC, no variadic macros update README with current text from release notes update debug_printf for MSVC Mozilla 506875: fish_sound_comments_decode leaks Debian #534744, Mozill...
2010 Feb 03
0
libfishsound 1.0.0 Release
...nce release including the result of security review and bug fixes included in the Mozilla Firefox 3.5 release. It is API and ABI backwards-compatible with all libfishsound releases since 0.6.0 (released Mar 23 2004). This release contains security and other bugfixes: Conrad Parker (19): use debug_printf() for debugging update ChangeLog with notes from 0.9.1, 0.9.2 disable debug_printf for MSVC, no variadic macros update README with current text from release notes update debug_printf for MSVC Mozilla 506875: fish_sound_comments_decode leaks Debian #534744, Mozill...
2014 Feb 21
3
[PATCH 1/4] nv30: remove use_nv4x, it is identical to is_nv4x
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- Perhaps there was a day when those were different, but that day is not today. src/gallium/drivers/nouveau/nv30/nv30_context.c | 1 - src/gallium/drivers/nouveau/nv30/nv30_context.h | 1 - src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c | 20 ++++++++++---------- src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c | 8 ++++---- 4
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
...+ +static INLINE void so_emit(struct nouveau_channel *chan, struct nouveau_stateobj *so) { struct nouveau_pushbuf *pb = chan->pushbuf; unsigned nr, i; nr = so->cur - so->push; - if (pb->remaining < nr) - nouveau_pushbuf_flush(chan, nr); + if (pb->remaining < nr) { + debug_printf("so_emit ran out of space\n"); + return; + } pb->remaining -= nr; memcpy(pb->cur, so->push, nr * 4); for (i = 0; i < so->cur_reloc; i++) { struct nouveau_stateobj_reloc *r = &so->reloc[i]; + int ret = 0; - nouveau_pushbuf_emit_reloc(chan, pb->cur +...
2015 Jun 22
12
[RFC PATCH 0/8] nv50: expose global performance counters
Hello there, This series exposes NVIDIA's global performance counters for Tesla through the Gallium's HUD and the GL_AMD_performance_monitor extension. This adds support for 24 hardware events which have been reverse engineered with PerfKit (Windows) and CUPTI (Linux). These hardware events will allow developers to profile OpenGL applications. To reduce latency and to improve accuracy,
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...ct pipe_buffer *pb, unsigned usage) { struct nouveau_bo *bo = nouveau_bo(pb); + struct nouveau_screen *nscreen = nouveau_screen(pscreen); int ret; + if (nscreen->pre_pipebuffer_map_callback) { + ret = nscreen->pre_pipebuffer_map_callback(pscreen, pb, usage); + if (ret) { + debug_printf("pre_pipebuffer_map_callback failed %d\n", + ret); + return NULL; + } + } + ret = nouveau_bo_map(bo, nouveau_screen_map_flags(usage)); if (ret) { debug_printf("map failed: %d\n", ret); @@ -143,11 +153,22 @@ nouveau_screen_bo_map_range(struct pipe_screen *pscreen, st...
2013 Aug 11
10
[PATCH 00/10] Add support for MPEG2 and VC-1 on VP3/VP4 for NV98-NVAF
As it turns out, with the proprietary firmware, the VP3 and VP4 interfaces are identical. Furthermore, this is all already implemented for nvc0. So these patches (a) move the easily sharable bits of the nvc0 implementation into the nouveau directory, and then (b) implement the other parts in nv50. The non-shared parts are still largely copies, but there are some differences, not the least of which
2010 Aug 06
4
nv vpe video decoder
Hello, I have my work on the nv vpe video decoder in a functional state. In case you didn't know this decoder accelerates mpeg2 video at the idct/mc level. I have verified that it works on nv40 hardware. I believe it works on nv30 hardware (and maybe some earlier hardware), but I cannot verify since I have none. I will reply with patches against the kernel, drm, ddx and mesa for
2014 Sep 04
1
Errors during vdpau mpeg2 decoding
Hi Maarten, I'm seeing these prints, which feel like they're accompanied by bad frames: 0x7f7fcb29ab70 is not a real ref: -0.011 72712/72709 0% 35% 1.0% 0 0 This comes from if (dec->refs[idx].vidbuf != refs[i]) { debug_printf("%p is not a real ref\n", refs[i]); // FIXME: Maybe do m2mf copy here if a application really depends on it? continue; } Can you explain what this means, and what the fixme is referring to? -ilia
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...ct pipe_buffer *pb, unsigned usage) { struct nouveau_bo *bo = nouveau_bo(pb); + struct nouveau_screen *nscreen = nouveau_screen(pscreen); int ret; + if (nscreen->pre_pipebuffer_map_callback) { + ret = nscreen->pre_pipebuffer_map_callback(pscreen, pb, usage); + if (ret) { + debug_printf("pre_pipebuffer_map_callback failed %d\n", + ret); + return NULL; + } + } + ret = nouveau_bo_map(bo, nouveau_screen_map_flags(usage)); if (ret) { debug_printf("map failed: %d\n", ret); @@ -143,11 +153,22 @@ nouveau_screen_bo_map_range(struct pipe_screen *pscreen, st...
2015 Sep 02
2
nv3x libreoffice impress opengl animations not working
...rc.resource->nr_samples > 1 && >> info.dst.resource->nr_samples <= 1 && >> !util_format_is_depth_or_stencil(info.src.resource->format) && >> !util_format_is_pure_integer(info.src.resource->format)) { >> debug_printf("nv30: color resolve unimplemented\n"); >> return; >> } >> >> Perhaps there's (supposed to be) some magic with the MSAA visual? Do >> you see that print happening? > > > Yes I see that print happening and that explains the misrendering...
2015 Oct 06
19
[Bug 92306] New: GL Excess demo renders incorrectly on nv43
https://bugs.freedesktop.org/show_bug.cgi?id=92306 Bug ID: 92306 Summary: GL Excess demo renders incorrectly on nv43 Product: Mesa Version: git Hardware: x86 (IA32) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau
2015 Aug 31
2
nv3x libreoffice impress opengl animations not working
...t support a resolve step: if (info.src.resource->nr_samples > 1 && info.dst.resource->nr_samples <= 1 && !util_format_is_depth_or_stencil(info.src.resource->format) && !util_format_is_pure_integer(info.src.resource->format)) { debug_printf("nv30: color resolve unimplemented\n"); return; } Perhaps there's (supposed to be) some magic with the MSAA visual? Do you see that print happening? -ilia