<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Thanks llia for your reply.<br><br></div>Actually we are using "<a href="https://github.com/freedreno/kernel-msm.git">https://github.com/freedreno/kernel-msm.git</a>" this kernel to validate freedreno 3D test cases on i.mx53 QSB.</div><div> <br></div>Thanks & Regards,<br></div>     Priyanka<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 21, 2017 at 11:31 AM, Ilia Mirkin <span dir="ltr"><<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Dec 21, 2017 at 12:43 AM, priyanka more<br>
<<a href="mailto:priyanka.more457@gmail.com">priyanka.more457@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I've cloned freedreno test applications from the bellow link.<br>
> <a href="https://github.com/freedreno-zz/freedreno/tree/master/tests-3d" rel="noreferrer" target="_blank">https://github.com/freedreno-<wbr>zz/freedreno/tree/master/<wbr>tests-3d</a><br>
><br>
> I'm working on 3d test cases, I've executed test-cube.c test-caps.c on<br>
> i.mx53 QSB environment, I got colored cube as output on display.<br>
><br>
> I'm trying to execute other 3D test cases like test-es2gears.c test-vertex.c<br>
> test-cube-textured.c and 2D test application test-fill.c, but I'm wondering<br>
> what will be the output display of these applications.<br>
><br>
> Will you please guide me in what would be the output display of these test<br>
> applications?<br>
<br>
</span>The idea of these applications is actually not to display anything --<br>
the fact that they do is largely coincidence.<br>
<br>
The idea of these applications is to run GL commands against the blob<br>
driver, record a trace, and then analyze it, to figure out how to<br>
operate the underlying hardware. As parameters are changed, we look at<br>
what changes in the command stream, and infer the meanings of various<br>
registers based on how they're programmed relative to the GL commands<br>
being run.<br>
<br>
Tracing on the a2xx isn't an exact science right now. There's 20<br>
different incompatible kgsl versions running around. The current<br>
"state of the art" is a hacked up kgsl driver which prints stuff to<br>
dmesg -- see e.g.<br>
<a href="https://github.com/laanwj/linux-freedreno-a2xx/tree/4.12-rdu1-kgsl" rel="noreferrer" target="_blank">https://github.com/laanwj/<wbr>linux-freedreno-a2xx/tree/4.<wbr>12-rdu1-kgsl</a> +<br>
dmesg2rd from <a href="https://github.com/laanwj/freedreno/commit/24905de896b1d15aef9e66f465ec379b24061494" rel="noreferrer" target="_blank">https://github.com/laanwj/<wbr>freedreno/commit/<wbr>24905de896b1d15aef9e66f465ec37<wbr>9b24061494</a>.<br>
<br>
I have some incomplete work in adapting the libwrap-based tracer to<br>
that particular kgsl version, but ... it's incomplete. And it won't<br>
work with $other kgsl ioctl version.<br>
<br>
What's your goal?<br>
<span class="HOEnZb"><font color="#888888"><br>
  -ilia<br>
</font></span></blockquote></div><br></div>