]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i915: Use the VMA iterator
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 30 Oct 2021 03:46:58 +0000 (23:46 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 16 Dec 2021 03:01:36 +0000 (22:01 -0500)
commit3f7e506a47c26a8031bf5c5e724942ddf0bacae5
treee452bf111cb5fdac838e712a47b5f953dfaf7d31
parent8d55741af9951ac96c7fbdfcd0ca9b20cf72481b
i915: Use the VMA iterator

Replace the O(n.log(n)) loop with an O(n) loop.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
drivers/gpu/drm/i915/gem/i915_gem_userptr.c