Displaying 20 results from an estimated 29 matches for "nvc0_screen_destroy".
Did you mean:
nv30_screen_destroy
2015 Dec 07
2
[mesa v2 5/9] nouveau: fix screen creation failure paths
...u/nvc0/nvc0_screen.c
> @@ -617,8 +617,7 @@ nvc0_screen_resize_tls_area(struct nvc0_screen *screen,
> #define FAIL_SCREEN_INIT(str, err) \
> do { \
> NOUVEAU_ERR(str, err); \
> - nvc0_screen_destroy(pscreen); \
> - return NULL; \
> + goto fail; \
> } while(0)
>
> struct nouveau_screen *
> @@ -650,6 +649,7 @@ nvc0_screen_create(struct nouveau_device *dev)
> if (!scre...
2015 Dec 07
1
[mesa v2 5/9] nouveau: fix screen creation failure paths
...7,8 +617,7 @@ nvc0_screen_resize_tls_area(struct nvc0_screen *screen,
>>> #define FAIL_SCREEN_INIT(str, err) \
>>> do { \
>>> NOUVEAU_ERR(str, err); \
>>> - nvc0_screen_destroy(pscreen); \
>>> - return NULL; \
>>> + goto fail; \
>>> } while(0)
>>>
>>> struct nouveau_screen *
>>> @@ -650,6 +649,7 @@ nvc0_screen_creat...
2015 Nov 27
0
[mesa v2 5/9] nouveau: fix screen creation failure paths
...rc/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -617,8 +617,7 @@ nvc0_screen_resize_tls_area(struct nvc0_screen *screen,
#define FAIL_SCREEN_INIT(str, err) \
do { \
NOUVEAU_ERR(str, err); \
- nvc0_screen_destroy(pscreen); \
- return NULL; \
+ goto fail; \
} while(0)
struct nouveau_screen *
@@ -650,6 +649,7 @@ nvc0_screen_create(struct nouveau_device *dev)
if (!screen)
return NULL;
pscre...
2015 Dec 07
0
[mesa v2 5/9] nouveau: fix screen creation failure paths
...>> @@ -617,8 +617,7 @@ nvc0_screen_resize_tls_area(struct nvc0_screen *screen,
>> #define FAIL_SCREEN_INIT(str, err) \
>> do { \
>> NOUVEAU_ERR(str, err); \
>> - nvc0_screen_destroy(pscreen); \
>> - return NULL; \
>> + goto fail; \
>> } while(0)
>>
>> struct nouveau_screen *
>> @@ -650,6 +649,7 @@ nvc0_screen_create(struct nouveau_device...
2014 Oct 27
2
[PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0
...changed, 5 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index a7581f286cfc..61b381693224 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.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(s...
2015 Nov 27
13
[mesa v2 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 4016871..c02ee61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ LIBDRM_RADEON_REQUIRED=2.4.56
LIBDRM_AMDGPU_REQUIRED=2.4.63
LIBDRM_INTEL_REQUIRED=2.4.61
2016 Sep 19
2
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...bst at gmail.com> wrote:
>> This reverts commit 01bbcb69f80e1058395b737ae399c6f4ef48691b.
I think you meant aff51175cdbf345740ec9203eff88e772af88059 - that's
the commit id that matters, not the one in Ben's non-linux repo.
>>
>> The commit caused fence timeouts within nvc0_screen_destroy and most likely
>> other places as well.
>>
>> The most obvious effect is, that userspace processes take minutes to actually
>> quit.
>
> Acked-by: Alexandre Courbot <acourbot at nvidia.com>
If this doesn't make it into v4.8 (which is due to be released in a...
2015 Nov 26
9
[mesa 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com>
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 4016871..c02ee61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ LIBDRM_RADEON_REQUIRED=2.4.56
LIBDRM_AMDGPU_REQUIRED=2.4.63
LIBDRM_INTEL_REQUIRED=2.4.61
2014 Mar 06
2
[PATCH] nouveau: fix fence waiting logic in screen destroy
...ase.pushbuf->user_priv = NULL;
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 044847d..04f3088 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -340,7 +340,14 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)
return;
if (screen->base.fence.current) {
- nouveau_fence_wait(screen->base.fence.current);
+ struct nouveau_fence *current = NULL;
+
+ /* nouveau_fence_wait will create a new current fence, so wait on the
+ * _current_ one, and r...
2016 Sep 18
5
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
This reverts commit 01bbcb69f80e1058395b737ae399c6f4ef48691b.
The commit caused fence timeouts within nvc0_screen_destroy and most likely
other places as well.
The most obvious effect is, that userspace processes take minutes to actually
quit.
Signed-off-by: Karol Herbst <karolherbst at gmail.com>
---
drm/nouveau/include/nvkm/core/device.h | 1 +
drm/nouveau/nouveau_bo.c | 3 ++-
drm/nouveau/nvk...
2015 Dec 16
11
[mesa v3 1/9] nouveau: bump required libdrm version to 2.4.66
From: Ben Skeggs <bskeggs at redhat.com>
v2. forgot bump for non-gallium driver
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index b6680d0..965c6f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,8 +72,8 @@ LIBDRM_REQUIRED=2.4.60
2015 Nov 27
0
[mesa v2 8/9] nvc0: remove allocation of unused sw class
...2 files changed, 9 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.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_scree...
2016 Sep 19
0
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...t;>> This reverts commit 01bbcb69f80e1058395b737ae399c6f4ef48691b.
>
> I think you meant aff51175cdbf345740ec9203eff88e772af88059 - that's
> the commit id that matters, not the one in Ben's non-linux repo.
>
>>>
>>> The commit caused fence timeouts within nvc0_screen_destroy and most likely
>>> other places as well.
>>>
>>> The most obvious effect is, that userspace processes take minutes to actually
>>> quit.
>>
>> Acked-by: Alexandre Courbot <acourbot at nvidia.com>
>
> If this doesn't make it into v4.8...
2014 Feb 25
0
[Bug 75279] XCloseDisplay() takes one minute around nouveau_dri.so, freezing Firefox startup
...zilla.com> ---
A duplicate Mozilla bug has a stack with symbols:
https://bugzilla.mozilla.org/show_bug.cgi?id=975512#c1
#0 0x0000003f3a2da007 in sched_yield () from /lib64/libc.so.6
#1 0x00007f1e003bb1d1 in nouveau_fence_wait ()
from /usr/lib64/dri/nouveau_dri.so
#2 0x00007f1e0039d635 in nvc0_screen_destroy ()
from /usr/lib64/dri/nouveau_dri.so
#3 0x00007f1e002c6d9f in dri_destroy_screen_helper ()
from /usr/lib64/dri/nouveau_dri.so
#4 0x00007f1e002c6e25 in dri_destroy_screen ()
from /usr/lib64/dri/nouveau_dri.so
#5 0x00007f1e000087eb in driDestroyScreen ()
from /usr/lib64/dri/nouveau_dr...
2014 Oct 27
0
[PATCH 3/3] gk20a: use NOUVEAU_BO_GART as VRAM domain
...base.base;
+ /* Recognize chipsets with no VRAM */
+ switch (dev->chipset) {
+ /* GK20A */
+ case 0xea:
+ screen->base.vram_domain = NOUVEAU_BO_GART;
+ break;
+ default:
+ break;
+ }
+
ret = nouveau_screen_init(&screen->base, dev);
if (ret) {
nvc0_screen_destroy(pscreen);
--
2.1.2
2014 Nov 12
0
[PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0
...> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> index a7581f286cfc..61b381693224 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.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);
> @...
2014 Nov 12
1
[PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0
...lium/drivers/nouveau/nvc0/nvc0_screen.c
> b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> > index a7581f286cfc..61b381693224 100644
> > --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.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_...
2016 Sep 19
0
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
On Sun, Sep 18, 2016 at 7:21 PM, Karol Herbst <karolherbst at gmail.com> wrote:
> This reverts commit 01bbcb69f80e1058395b737ae399c6f4ef48691b.
>
> The commit caused fence timeouts within nvc0_screen_destroy and most likely
> other places as well.
>
> The most obvious effect is, that userspace processes take minutes to actually
> quit.
Acked-by: Alexandre Courbot <acourbot at nvidia.com>
>
> Signed-off-by: Karol Herbst <karolherbst at gmail.com>
> ---
> drm/nouvea...
2015 Dec 08
2
[mesa v2 8/9] nvc0: remove allocation of unused sw class
...s(-)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.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);
&...
2014 Mar 07
0
[PATCH] nouveau: fix fence waiting logic in screen destroy
...= NULL;
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> index 044847d..04f3088 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> @@ -340,7 +340,14 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)
> return;
>
> if (screen->base.fence.current) {
> - nouveau_fence_wait(screen->base.fence.current);
> + struct nouveau_fence *current = NULL;
> +
> + /* nouveau_fence_wait will create a new current fence, so wait on...