Summary: | [dmabuf] import/export/removal is too slow | ||
---|---|---|---|
Product: | DRI | Reporter: | Chris Wilson <chris> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | major | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | DRI git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | ALL | i915 features: | GEM/Other |
Description
Chris Wilson
2016-03-20 09:57:06 UTC
And drm_intel_bo_gem_create_from_prime doesn't help. Chris, can you confirm which platform(s) is(are) impacted and if this is resolved (if so can you point out sha1)? Everything is affected. And users of libdrm_intel doubly so. As reference: Chris' patch available here: https://patchwork.freedesktop.org/series/12787/ (In reply to yann from comment #4) > As reference: Chris' patch available here: > https://patchwork.freedesktop.org/series/12787/ and also : https://patchwork.freedesktop.org/series/12782/ (for libdrm) Step 1: kernel commit da2bf7e805921494df5ebe18e99c790b1fbb450c Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Sep 26 21:44:14 2016 +0100 drm: Convert prime dma-buf <-> handle to rbtree libdrm commit 9e24d0c54b162b443e3e144740deb0e1d5f8760b Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Sep 22 14:44:50 2016 +0100 intel: Migrate handle/name lookups from linear lists to hashtables Walking a linear list to find a matching PRIME handle or flinked name does not scale and becomes a major burden with just a few objects. That said, the fixed size hash is not much better, it just buckets the look into a few separate chains rather than one long one. References: https://bugs.freedesktop.org/show_bug.cgi?id=94631 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.