ssvb / tinymembench

Simple benchmark for memory throughput and latency
MIT License
354 stars 96 forks source link

Added working support of framebuffer as source buffer #4

Closed ghost closed 8 years ago

ghost commented 10 years ago

I've bit changed the code responsible for framebuffer tests. In my case the smem_len member was just 0 as probably it was not ever set in kernel. Using framebuffer variables other way around gave me the possibility to run the test on framebuffer.

ssvb commented 10 years ago

This is a kernel bug, fixed by http://lists.freedesktop.org/archives/dri-devel/2014-August/066744.html

ghost commented 10 years ago

That must be the exact reason. I see that I've used the kernel with that 'broken' commit.

The fix patch is still new and not yet applied so I'll leave the the PR in case if somebody else experienced this problem, before the patch will be applied.

ssvb commented 8 years ago

We can probably close this now. Anyone is free to re-open or comment if the buggy kernels are still used somewhere in the wild.