From: Daniel Vetter <daniel@ffwll.ch>
To: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] lib/drmtest: Fix filedesc leak on gem_quiescent_gpu
Date: Wed, 4 Dec 2013 13:23:14 +0100 [thread overview]
Message-ID: <20131204122314.GD27344@phenom.ffwll.local> (raw)
In-Reply-To: <1385450777-23450-1-git-send-email-mika.kuoppala@intel.com>
On Tue, Nov 26, 2013 at 09:26:17AM +0200, Mika Kuoppala wrote:
> to not run out of filedescs as some tests call gem_quiescent_gpu
> directly.
>
> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Applied, thanks.
-Daniel
> ---
> lib/drmtest.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/drmtest.c b/lib/drmtest.c
> index 15ed847..2e35644 100644
> --- a/lib/drmtest.c
> +++ b/lib/drmtest.c
> @@ -166,6 +166,7 @@ void gem_quiescent_gpu(int fd)
>
> gem_sync(fd, handle);
> igt_drop_caches_set(DROP_RETIRE);
> + gem_close(fd, handle);
> }
>
> /**
> --
> 1.7.9.5
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
prev parent reply other threads:[~2013-12-04 12:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-26 7:26 [PATCH] lib/drmtest: Fix filedesc leak on gem_quiescent_gpu Mika Kuoppala
2013-12-04 12:23 ` Daniel Vetter [this message]
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=20131204122314.GD27344@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=mika.kuoppala@linux.intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox