Thread (49 messages) 49 messages, 4 authors, 2021-03-16

Re: [igt-dev] [PATCH i-g-t v23 37/37] tests/gem_linear_blits: Use intel allocator

From: Zbigniew Kempczyński <hidden>
Date: 2021-03-16 13:18:41

On Tue, Mar 16, 2021 at 11:23:25AM +0000, Chris Wilson wrote:

<cut>
quoted
+               do_relocs = !gem_uses_ppgtt(fd);
 
                count = gem_aperture_size(fd);
                if (count >> 32)
                        count = MAX_32b;
+               else
+                       do_relocs = true;
So this catches Braswell (has a 32b full-ppgtt) and only Braswell.
Any reason why the simple allocator cannot handle less than 32b of
address space?
No, but do we really need this in that series? I'm not good in all
i915 history and I don't have knowledge about all previous gen 
limitations so I left above check intact. 

--
Zbigniew
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help