Hi Wladimir,

I am facing issues while getting freedreno driver to work on imx53 based tx53 board from Karo


I have earlier verified that A200 driver works for imx53 based QSRB board from Freescale. However for tx53 board, register read for getting chip ID is returning zero.

Interestingly for both boards, dtsi is common, i.e imx53.dtsi.This dtsi contains,
   Clock information for CPU
   GPU device tree node

Clock rates for both boards as below,
       kgsl_clock:gpu_clk 200000000
       kgsl_clock:garb_clk 400000000

Following are output of /dev/cpuinfo for both boards

QSRB(IMX):
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 66.66
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc08
CPU revision    : 5

Hardware        : Freescale i.MX53 (Device Tree Support)
Revision        : 0000
Serial          : 0000000000000000

TX53(Karo):
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 40.00
Features        : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc08
CPU revision    : 5

Hardware        : Freescale i.MX53 (Device Tree Support)
Revision        : 0000
Serial          : 0000000000000000

Can you please guide me how I can debug this issue or you have faced similar issues when you were developing the driver?

From output of cpuinfo, I see that only BogoMIPS is different for both CPUs, can this be an issue?

Regards,
   Abhijit

On Friday 08 September 2017 03:46 PM, Rob Clark wrote:
mesa/freedreno supports gles as well as gl.. perhaps you built mesa
without --enable-gles2?

BR,
-R

On Fri, Sep 8, 2017 at 2:50 AM, abhijit naik <abhijitnai...@gmail.com> wrote:
Hi All,

I have requirement to support OPENGL ES 2.0 in GPU hardware.

But freedreno supports OPENGL 1.4. To support OPEN GL ES 2.0, I am
planning to boot old linux kernel with binary only GPU driver and use
reverse engineering tools. As I don't see any other option.

But before I start, I wanted to confirm whether Open GL ES 2.0 based
application can run with Open GL ES 1.4?

My end goal is to use chromium browser on IMX537 based board.

Please let me know your inputs.

On Thu, Aug 17, 2017 at 4:04 PM, Wladimir J. van der Laan
<laa...@gmail.com> wrote:
Hello abhijit,

Now I am trying to run some 2D application from freedreno. I saw that these
applications use libC2D2.

I was able to get this library for UNIX, but I am not able to get libstlport
for UNIX which is one of dependencies. I am concluding libC2D2 is specific
to Andriod

You shouldn't need stlport for UNIX. As far as I remember it is a stand-alone
implementation of the C++ standard library. Both clang and GCC have their
own state-of-the-art C++ standard libraries readily available.

I am planning to use MonkVG and run tiger application that comes with
Khronos so that I can use 3D renderer for 2D.

I am falling back to OPEN GL ES 2.0, as OPENVG implementation is
discontinued in Mesa

I'm not sure what is the state of support for the 2D core, the Z160, in
freedreno. I personally will likely not have time to look at that.

Using the 3D hardware makes sense, however. For example the application I'm
working on is also mostly a 2D application, it is built with Qt Quick, which
uses OpenGL ES 2 as rendering backend.

Regards,
Wladimir



--
Best wishes,
Abhijit Naik

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

Reply via email to