search for: obj_class

Displaying 11 results from an estimated 11 matches for "obj_class".

2014 May 27
2
[PATCH 1/2] nvc0: add GK20A 3D class
...en.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c > index cccfe2bba23d..95e5ef81cd79 100644 > --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c > +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c > @@ -702,7 +702,14 @@ nvc0_screen_create(struct nouveau_device *dev) > obj_class = NVF0_3D_CLASS; > break; > case 0xe0: > - obj_class = NVE4_3D_CLASS; > + switch (dev->chipset) { > + case 0xea: > + obj_class = NVEA_3D_CLASS; Again, would be nice to be consistent with the way you set the ISA... perhaps change this to a >...
2014 May 27
0
[PATCH 1/2] nvc0: add GK20A 3D class
...ivers/nouveau/nvc0/nvc0_screen.c >> index cccfe2bba23d..95e5ef81cd79 100644 >> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c >> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c >> @@ -702,7 +702,14 @@ nvc0_screen_create(struct nouveau_device *dev) >> obj_class = NVF0_3D_CLASS; >> break; >> case 0xe0: >> - obj_class = NVE4_3D_CLASS; >> + switch (dev->chipset) { >> + case 0xea: >> + obj_class = NVEA_3D_CLASS; > > Again, would be nice to be consistent with the way you set the I...
2014 May 27
8
[PATCH 0/2] nvc0: support for GK20A (Tegra K1)
The following 2 patches make it possible to run Mesa programs on GK20A (Tegra K1). GK20A is very similar to GK104, but uses a new (backward-compatible) 3D class as well as the same ISA as GK110 (SM35). Taking these differences into account is sufficient to successfully render simple off-screen buffers. Alexandre Courbot (2): nvc0: add GK20A 3D class nvc0: use SM35 ISA with GK20A
2014 May 27
0
[PATCH 1/2] nvc0: add GK20A 3D class
...rs/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index cccfe2bba23d..95e5ef81cd79 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -702,7 +702,14 @@ nvc0_screen_create(struct nouveau_device *dev) obj_class = NVF0_3D_CLASS; break; case 0xe0: - obj_class = NVE4_3D_CLASS; + switch (dev->chipset) { + case 0xea: + obj_class = NVEA_3D_CLASS; + break; + default: + obj_class = NVE4_3D_CLASS; + break; + } break; case 0xd0:...
2017 Mar 30
1
[PATCH] nvc0: support for GP10B
...f44ba92..c9042fc00447 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -903,6 +903,7 @@ nvc0_screen_create(struct nouveau_device *dev) case 0x130: switch (dev->chipset) { case 0x130: + case 0x13b: obj_class = GP100_3D_CLASS; break; default: -- 2.12.0
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...-nvc0_screen_compute_setup(struct nvc0_screen *screen, - struct nouveau_pushbuf *push) +nvc0_screen_compute_setup(struct nvc0_screen *screen) { struct nouveau_object *chan = screen->base.channel; struct nouveau_device *dev = screen->base.device; uint32_t obj_class; int ret; - int i; switch (dev->chipset & ~0xf) { case 0xc0: @@ -59,8 +57,18 @@ nvc0_screen_compute_setup(struct nvc0_screen *screen, ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 0, 1 << 12, NULL, &screen->parm); - if (ret) - r...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
...drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 3e6b011..2a317af 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -490,10 +490,13 @@ nvc0_magic_3d_init(struct nouveau_pushbuf *push, uint16_t obj_class) } static void -nvc0_screen_fence_emit(struct pipe_screen *pscreen, u32 *sequence) +nvc0_screen_fence_emit(struct nouveau_fence_mgr *mgr, u32 *sequence) { - struct nvc0_screen *screen = nvc0_screen(pscreen); - struct nouveau_pushbuf *push = screen->base.pushbuf; + struct nvc0_screen *...
2014 Jun 21
3
[Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...ruct nvc0_screen *screen, > - struct nouveau_pushbuf *push) > +nvc0_screen_compute_setup(struct nvc0_screen *screen) > { > struct nouveau_object *chan = screen->base.channel; > struct nouveau_device *dev = screen->base.device; > uint32_t obj_class; > int ret; > - int i; > > switch (dev->chipset & ~0xf) { > case 0xc0: > @@ -59,8 +57,18 @@ nvc0_screen_compute_setup(struct nvc0_screen *screen, > > ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 0, 1 << 12, NULL, > &am...
2014 Jun 16
2
[PATCH 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
...drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 3e6b011..2a317af 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -490,10 +490,13 @@ nvc0_magic_3d_init(struct nouveau_pushbuf *push, uint16_t obj_class) } static void -nvc0_screen_fence_emit(struct pipe_screen *pscreen, u32 *sequence) +nvc0_screen_fence_emit(struct nouveau_fence_mgr *mgr, u32 *sequence) { - struct nvc0_screen *screen = nvc0_screen(pscreen); - struct nouveau_pushbuf *push = screen->base.pushbuf; + struct nvc0_scre...
2014 Jul 10
3
[PATCH 0/3] nvc0: ARB_(multi_)draw_indirect support
The main patches are from Christoph. Unfortunately they're a little beyond my understanding of all the vertex-related details, but they generally seemed fine. I'm just going to push these unless someone steps up to review them. Christoph Bumiller (2): nvc0: add support for indirect drawing nvc0: fix translate path for PRIM_RESTART_WITH_DRAW_ARRAYS Ilia Mirkin (1): nouveau: check if
2013 Oct 10
97
[Bug 70354] New: Failed to initialise context object: 2D_NVC0 (0) (for my GeForce GT 750M)
https://bugs.freedesktop.org/show_bug.cgi?id=70354 Priority: medium Bug ID: 70354 Assignee: nouveau at lists.freedesktop.org Summary: Failed to initialise context object: 2D_NVC0 (0) (for my GeForce GT 750M) QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: