Displaying 20 results from an estimated 36 matches for "eng2d".
2012 Nov 06
1
[PATCH] drm/nv50: decode PGRAPH status registers on TLB flush fail
Now it outputs:
nouveau E[ PGRAPH][0000:02:00.0] PGRAPH TLB flush idle timeout fail
nouveau E[ PGRAPH][0000:02:00.0] PGRAPH_STATUS: BUSY DISPATCH VFETCH CCACHE_UNK4 STRMOUT_GSCHED_UNK5 UNK14XX UNK1CXX CLIPID ZCULL ENG2D UNK34XX TPRAST TPROP ROP (0x011fde03)
nouveau E[ PGRAPH][0000:02:00.0] PGRAPH_VSTATUS: CCACHE (0x00145b4d) (0x0000002d) ENG2D ROP (0x0034db40)
instead of:
[drm] nouveau 0000:02:00.0: PGRAPH TLB flush idle timeout fail: 0x011fde03 0x00145b4d 0x0000002d 0x0034db40
Based on envytools docs.
Signed-...
2009 Oct 10
0
[PATCH 1/7] nv50: use SIFC for TIC, TSC upload
.../gallium/drivers/nv50/nv50_context.c
+++ b/src/gallium/drivers/nv50/nv50_context.c
@@ -33,13 +33,6 @@ nv50_flush(struct pipe_context *pipe, unsigned flags,
{
struct nv50_context *nv50 = nv50_context(pipe);
struct nouveau_channel *chan = nv50->screen->base.channel;
- struct nouveau_grobj *eng2d = nv50->screen->eng2d;
-
- /* We need this in the ddx for reliable composite, not sure what we're
- * actually flushing. We generate all our own flushes with flags = 0. */
- WAIT_RING(chan, 2);
- BEGIN_RING(chan, eng2d, 0x0110, 1);
- OUT_RING (chan, 0);
if (flags & PIPE_FLUSH_FR...
2012 Aug 19
1
[PATCH 01/10] drm/nv50: decode PGRAPH status registers on TLB flush fail
Now it outputs:
nouveau E[ PGRAPH][0000:02:00.0] PGRAPH TLB flush idle timeout fail
nouveau E[ PGRAPH][0000:02:00.0] PGRAPH_STATUS: BUSY DISPATCH VFETCH CCACHE_UNK4 STRMOUT_GSCHED_UNK5 UNK14XX UNK1CXX CLIPID ZCULL ENG2D UNK34XX TPRAST TPROP ROP (0x011fde03)
nouveau E[ PGRAPH][0000:02:00.0] PGRAPH_VSTATUS_0: CCACHE (0x00145b4d)
nouveau E[ PGRAPH][0000:02:00.0] PGRAPH_VSTATUS_1: (0x0000002d)
nouveau E[ PGRAPH][0000:02:00.0] PGRAPH_VSTATUS_2: ENG2D ROP (0x0034db40)
instead of:
[drm] nouveau 0000:02:00.0: PGRAPH T...
2014 Oct 27
2
[PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0
...n.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -407,8 +407,6 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)
FREE(screen->tic.entries);
- nouveau_mm_destroy(screen->mm_VRAM_fe0);
-
nouveau_object_del(&screen->eng3d);
nouveau_object_del(&screen->eng2d);
nouveau_object_del(&screen->m2mf);
@@ -1027,7 +1025,6 @@ nvc0_screen_create(struct nouveau_device *dev)
mm_config.nvc0.tile_mode = 0;
mm_config.nvc0.memtype = 0xfe0;
- screen->mm_VRAM_fe0 = nouveau_mm_create(dev, NOUVEAU_BO_VRAM, &mm_config);
if (!nvc0_blitter_...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...(struct nv04_miptree *)surf->texture;
-
- return mt->buffer;
-}
-
struct pipe_screen *
nv04_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
{
@@ -197,7 +189,6 @@ nv04_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
/* 2D engine setup */
screen->eng2d = nv04_surface_2d_init(&screen->base);
- screen->eng2d->buf = nv04_surface_buffer;
/* Notifier for sync purposes */
ret = nouveau_notifier_alloc(chan, 0xbeef0301, 1, &screen->sync);
diff --git a/src/gallium/drivers/nv04/nv04_state.h b/src/gallium/drivers/nv04/nv04_state.h...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
...(struct nv04_miptree *)surf->texture;
-
- return mt->buffer;
-}
-
struct pipe_screen *
nv04_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
{
@@ -197,7 +189,6 @@ nv04_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
/* 2D engine setup */
screen->eng2d = nv04_surface_2d_init(&screen->base);
- screen->eng2d->buf = nv04_surface_buffer;
/* Notifier for sync purposes */
ret = nouveau_notifier_alloc(chan, 0xbeef0301, 1, &screen->sync);
diff --git a/src/gallium/drivers/nv04/nv04_state.h b/src/gallium/drivers/nv04/nv04_state.h...
2014 Feb 05
0
[PATCH] drm/nv50/graph: update status enum names
..."CCACHE_PREGEOM" },
+ { 0x00000800, "STRMOUT_VATTR_POSTGEOM" },
+ { 0x00001000, "VCLIP" },
+ { 0x00002000, "RATTR_APLANE" },
+ { 0x00004000, "TRAST" },
{ 0x00008000, "CLIPID" },
{ 0x00010000, "ZCULL" },
{ 0x00020000, "ENG2D" },
- { 0x00040000, "UNK34XX" },
- { 0x00080000, "TPRAST" },
- { 0x00100000, "TPROP" },
- { 0x00200000, "TEX" },
- { 0x00400000, "TPVP" },
- { 0x00800000, "MP" },
+ { 0x00040000, "RMASK" },
+ { 0x00080000, "TPC_RAST&quo...
2018 Apr 07
6
[Bug 105940] New: Display freeze caused by nouveau
...atible controller: NVIDIA Corporation GT215 [GeForce GT 320]
(rev a2)
Excerpt of journalctl (full journalctl in attachment):
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH TLB flush idle timeout
fail
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_STATUS 00be0003 [BUSY
DISPATCH ENG2D RMASK TPC_RAST TPC_PROP TPC_TEX TPC_MP]
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS0: 00000000 []
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS1: 0000106d
[TPC_TEX TPC_MP]
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS2: 00148000
[ENG2D]
apr...
2015 Nov 27
0
[mesa v2 8/9] nvc0: remove allocation of unused sw class
...reen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 4897ebe..11cb74a 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -447,7 +447,6 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)
nouveau_object_del(&screen->eng2d);
nouveau_object_del(&screen->m2mf);
nouveau_object_del(&screen->compute);
- nouveau_object_del(&screen->nvsw);
nouveau_screen_fini(&screen->base);
@@ -698,13 +697,6 @@ nvc0_screen_create(struct nouveau_device *dev)
screen->base.fence.update = nv...
2012 Nov 25
1
Reproducible "PGRAPH TLB flush timeout" hang on NV96
...x0000102d 0x0034db43
I also updated the kernel to latest because it has the improved parsing:
Nov 25 23:42:57 madman kernel: [ 169.014553] nouveau E[
PGRAPH][0000:01:00.0] PGRAPH_STATUS : 0x019ffe03 BUSY DISPATCH VFETCH
CCACHE_UNK4 STRMOUT_GSCHED_UNK5 UNK14XX UNK24XX_CSCHED UNK1CXX CLIPID
ZCULL ENG2D UNK34XX TPRAST TPROP MP ROP
Nov 25 23:42:57 madman kernel: [ 169.014564] nouveau E[
PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00145009 VFETCH CCACHE
Nov 25 23:42:57 madman kernel: [ 169.014569] nouveau E[
PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x0000102d MP
Nov 25 23:42:57 madman kernel: [ 169.01...
2014 Nov 12
0
[PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0
...u/nvc0/nvc0_screen.c
> @@ -407,8 +407,6 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)
>
> FREE(screen->tic.entries);
>
> - nouveau_mm_destroy(screen->mm_VRAM_fe0);
> -
> nouveau_object_del(&screen->eng3d);
> nouveau_object_del(&screen->eng2d);
> nouveau_object_del(&screen->m2mf);
> @@ -1027,7 +1025,6 @@ nvc0_screen_create(struct nouveau_device *dev)
>
> mm_config.nvc0.tile_mode = 0;
> mm_config.nvc0.memtype = 0xfe0;
> - screen->mm_VRAM_fe0 = nouveau_mm_create(dev, NOUVEAU_BO_VRAM, &mm_confi...
2014 Nov 12
1
[PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0
...+407,6 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)
> >
> > FREE(screen->tic.entries);
> >
> > - nouveau_mm_destroy(screen->mm_VRAM_fe0);
> > -
> > nouveau_object_del(&screen->eng3d);
> > nouveau_object_del(&screen->eng2d);
> > nouveau_object_del(&screen->m2mf);
> > @@ -1027,7 +1025,6 @@ nvc0_screen_create(struct nouveau_device *dev)
> >
> > mm_config.nvc0.tile_mode = 0;
> > mm_config.nvc0.memtype = 0xfe0;
> > - screen->mm_VRAM_fe0 = nouveau_mm_create(dev,...
2009 Dec 05
1
[PATCH] nouveau: avoid running out of relocs (attempt 4)
...vers/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nv50/nv50_surface.c
@@ -62,6 +62,7 @@ nv50_surface_set(struct nv50_screen *screen, struct pipe_surface *ps, int dst)
return 1;
if (!bo->tile_flags) {
+ MARK_RING (chan, 9, 2); /* flush on lack of space or relocs */
BEGIN_RING(chan, eng2d, mthd, 2);
OUT_RING (chan, format);
OUT_RING (chan, 1);
@@ -72,6 +73,7 @@ nv50_surface_set(struct nv50_screen *screen, struct pipe_surface *ps, int dst)
OUT_RELOCh(chan, bo, ps->offset, flags);
OUT_RELOCl(chan, bo, ps->offset, flags);
} else {
+ MARK_RING (chan, 11, 2);...
2009 Dec 04
3
[PATCH] nouveau: avoid running out of relocs
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
src/gallium/drivers/nouveau/nouveau_stateobj.h | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nouveau_stateobj.h b/src/gallium/drivers/nouveau/nouveau_stateobj.h
index b595405..28f483f 100644
--- a/src/gallium/drivers/nouveau/nouveau_stateobj.h
+++
2015 Dec 08
2
[mesa v2 8/9] nvc0: remove allocation of unused sw class
...rs/nouveau/nvc0/nvc0_screen.c
> index 4897ebe..11cb74a 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> @@ -447,7 +447,6 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)
> nouveau_object_del(&screen->eng2d);
> nouveau_object_del(&screen->m2mf);
> nouveau_object_del(&screen->compute);
> - nouveau_object_del(&screen->nvsw);
>
> nouveau_screen_fini(&screen->base);
>
> @@ -698,13 +697,6 @@ nvc0_screen_create(struct nouveau_device *dev)
>...
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
...vers/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nv50/nv50_surface.c
@@ -62,6 +62,7 @@ nv50_surface_set(struct nv50_screen *screen, struct pipe_surface *ps, int dst)
return 1;
if (!bo->tile_flags) {
+ MARK_RING (chan, 9, 2); /* flush on lack of space or relocs */
BEGIN_RING(chan, eng2d, mthd, 2);
OUT_RING (chan, format);
OUT_RING (chan, 1);
@@ -72,6 +73,7 @@ nv50_surface_set(struct nv50_screen *screen, struct pipe_surface *ps, int dst)
OUT_RELOCh(chan, bo, ps->offset, flags);
OUT_RELOCl(chan, bo, ps->offset, flags);
} else {
+ MARK_RING (chan, 11, 2);...
2009 Dec 13
3
[PATCH] nouveau: avoid running out of relocs (attempt 5)
...vers/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nv50/nv50_surface.c
@@ -62,6 +62,7 @@ nv50_surface_set(struct nv50_screen *screen, struct pipe_surface *ps, int dst)
return 1;
if (!bo->tile_flags) {
+ MARK_RING (chan, 9, 2); /* flush on lack of space or relocs */
BEGIN_RING(chan, eng2d, mthd, 2);
OUT_RING (chan, format);
OUT_RING (chan, 1);
@@ -72,6 +73,7 @@ nv50_surface_set(struct nv50_screen *screen, struct pipe_surface *ps, int dst)
OUT_RELOCh(chan, bo, ps->offset, flags);
OUT_RELOCl(chan, bo, ps->offset, flags);
} else {
+ MARK_RING (chan, 11, 2);...
2015 Feb 17
10
[Bug 89186] New: Artifacts after waking up from suspend
...the dmesg outputs there a follwing lines (full log attached):
[ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout
fail
[ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_STATUS : 0x011fde01
BUSY VFETCH CCACHE_PREGEOM STRMOUT_VATTR_POSTGEOM VCLIP TRAST CLIPID ZCULL
ENG2D RMASK TPC_RAST TPC_PROP ROP
[ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00145b49
VFETCH CCACHE
[ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x0000002d
[ 625.471095] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x0034db40
ENG2D ROP
I have attached...
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...veau/nouveau_screen.h"
+#include "nv50_context.h"
struct nv50_screen {
struct nouveau_screen base;
@@ -9,6 +10,7 @@ struct nv50_screen {
struct nouveau_winsys *nvws;
unsigned cur_pctx;
+ struct nv50_context *cur_ctx;
struct nouveau_grobj *tesla;
struct nouveau_grobj *eng2d;
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index 871e809..8cf4ff4 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -185,6 +185,8 @@ nv50_state_emit(struct nv50_conte...
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
.../src/nv50_exa.c
+++ b/src/nv50_exa.c
@@ -119,7 +119,7 @@ NV50EXAAcquireSurface2D(PixmapPtr ppix, int is_src)
bo_flags = NOUVEAU_BO_VRAM;
bo_flags |= is_src ? NOUVEAU_BO_RD : NOUVEAU_BO_WR;
- if (!nouveau_exa_pixmap_is_tiled(ppix)) {
+ if (!nv50_style_tiled_pixmap(ppix)) {
BEGIN_RING(chan, eng2d, mthd, 2);
OUT_RING (chan, fmt);
OUT_RING (chan, 1);
@@ -465,7 +465,7 @@ NV50EXARenderTarget(PixmapPtr ppix, PicturePtr ppict)
unsigned format;
/*XXX: Scanout buffer not tiled, someone needs to figure it out */
- if (!nouveau_exa_pixmap_is_tiled(ppix))
+ if (!nv50_style_tiled_pixmap(p...