All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Smiechowicz <deadwood-5tc4TXWwyLM@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [PATCH 2/2] libdrm: Unreference pushbuf objects on channel destruction
Date: Mon, 21 Dec 2009 15:11:06 +0100	[thread overview]
Message-ID: <4B2F81FA.8090905@wp.pl> (raw)

- unreference pushbuf objects on channel destruction

Index: nouveau/nouveau_pushbuf.c
===================================================================
--- nouveau/nouveau_pushbuf.c	(wersja 32082)
+++ nouveau/nouveau_pushbuf.c	(kopia robocza)
@@ -262,6 +262,12 @@
  	return 0;
  }

+void
+nouveau_pushbuf_fini(struct nouveau_channel *chan)
+{
+	nouveau_pushbuf_fini_call(chan);
+}
+
  int
  nouveau_pushbuf_flush(struct nouveau_channel *chan, unsigned min)
  {
Index: nouveau/nouveau_private.h
===================================================================
--- nouveau/nouveau_private.h	(wersja 32082)
+++ nouveau/nouveau_private.h	(kopia robocza)
@@ -65,6 +65,9 @@
  int
  nouveau_pushbuf_init(struct nouveau_channel *);

+void
+nouveau_pushbuf_fini(struct nouveau_channel *);
+
  struct nouveau_channel_priv {
  	struct nouveau_channel base;

Index: nouveau/nouveau_channel.c
===================================================================
--- nouveau/nouveau_channel.c	(wersja 32002)
+++ nouveau/nouveau_channel.c	(kopia robocza)
@@ -111,6 +111,8 @@

  	FIRE_RING(&nvchan->base);

+	nouveau_pushbuf_fini(&nvchan->base);
+
  	nouveau_bo_unmap(nvchan->notifier_bo);
  	nouveau_bo_ref(NULL, &nvchan->notifier_bo);

             reply	other threads:[~2009-12-21 14:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 14:11 Krzysztof Smiechowicz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-12-27 10:02 [PATCH 2/2] libdrm: Unreference pushbuf objects on channel destruction Krzysztof Smiechowicz
     [not found] ` <4B3730C4.6000903-5tc4TXWwyLM@public.gmane.org>
2009-12-28 23:08   ` Younes Manton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B2F81FA.8090905@wp.pl \
    --to=deadwood-5tc4txwwylm@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.