All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 107403] Quadratic behavior due to leaking fence contexts in reservation objects
Date: Fri, 27 Jul 2018 12:30:30 +0000	[thread overview]
Message-ID: <bug-107403-502-DmvDxC0sYk@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-107403-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1926 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=107403

--- Comment #1 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Well that should be already fixed by the following commits:

commit ca25fe5efe4ab43cc5b4f3117a205c281805a5ca
Author: Christian König <ckoenig.leichtzumerken@gmail.com>
Date:   Tue Nov 14 15:24:36 2017 +0100

    dma-buf: try to replace a signaled fence in
reservation_object_add_shared_inplace

    The amdgpu issue to also need signaled fences in the reservation objects
should
    be fixed by now.

    Optimize the handling by replacing a signaled fence when adding a new
    shared one.

    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Link:
https://patchwork.freedesktop.org/patch/msgid/20171114142436.1360-2-christian.koenig@amd.com

commit 4d9c62e8ce69d0b0a834282a34bff5ce8eeacb1d
Author: Christian König <ckoenig.leichtzumerken@gmail.com>
Date:   Tue Nov 14 15:24:35 2017 +0100

    dma-buf: keep only not signaled fence in
reservation_object_add_shared_replace v3

    The amdgpu issue to also need signaled fences in the reservation objects
    should be fixed by now.

    Optimize the list by keeping only the not signaled yet fences around.

    v2: temporary put the signaled fences at the end of the new container
    v3: put the old fence at the end of the new container as well.

    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
    Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Link:
https://patchwork.freedesktop.org/patch/msgid/20171114142436.1360-1-christian.koenig@amd.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3558 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2018-07-27 12:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-27 12:20 [Bug 107403] Quadratic behavior due to leaking fence contexts in reservation objects bugzilla-daemon
2018-07-27 12:30 ` bugzilla-daemon [this message]
2018-07-27 12:46 ` bugzilla-daemon

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=bug-107403-502-DmvDxC0sYk@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.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.