Hi Rob,

Thank you very much for your reply.

I ensured that --enable-freedreno-kgsl is enabled in libdrm build and the same is copied to target

The issue seems to be in mesa build

I observed that there are two mechanism in which application can interact with underlaying DRM,
    1. With DRI ($MESA_INSTALL_PATH/src/mesa/drivers/dri)
    2. With Gallium driver ($MESA_INSTALL_PATH/src/gallium/drivers)

Freedreno driver is present only in Case 2. For that reason I disabled dri in Mesa build and enabled gallium-xlib intreface, which will enable case 2

But still gallium component of freedreno is not building.

For example, r600_dri.so and r300_dri.so are build but freedreno_dri.so is not build. I verified that the source code of freedreno is compiling though

Setting LIBGL_DEBUG=verbose, is not showing any additional logs. However, software pipe is being used for rendering

On Sunday 09 July 2017 10:48 PM, Rob Clark wrote:
The most obvious thing to check is make sure you use
--enable-freedreno-kgsl when building libdrm.. if you have that, then
try:

  LIBGL_DEBUG=verbose glxinfo

BR,
-R

On Sat, Jul 8, 2017 at 2:07 AM, abhijit <abhijitnai...@gmail.com> wrote:
Hi,

I needed some help with respect to binding of freedreno driver to mesa

I have cross compiled freedreno driver for A2XX with main line kernel and
added clocking info referring driver from TQ-Embedded
"https://www.tq-group.com/en/support/download
/?tx_abdownloads_pi1%5Baction%5D=getviewcategory&tx_abdownloads_pi1%5Bcategory_uid%5D=672&tx_abdownloads_pi1%5Bcid%5D=84&tx_abdownloads_pi1%5Bpointer%5D=1&cHash=5e7c087ae16a9426fc0353db0042615a"

I also cross-compiled, libdrm and mesa components from freedreno git hub

But when I am running "glxinfo" command to verify whether underlaying 3D
acceleration is being used, I am observing that softpipe is being used
instead of "freedreno"

I figured it out that glxinfo uses mesa/src/mesa/drivers/dri/swrast  as user
side driver component

Files under /src/mesa/drivers/dri use "_mesa_initialize_context" to register
them self to mesa component. But I am not seeing any freedreno related
source files calling "_mesa_initialize_context"

Can you please let me know whether I have to add mesa related
functionalities for freedreno or there some other alternatives?

Thank you very much :)

On Wednesday 31 May 2017 01:12 PM, abhijit wrote:

Hi,

We are working on iMx53 Quick start board based on iMx53 application
processor. As you know this has A200 GPU.

If I see in the mainline kernel 4.11.3, there are no source files for
A2XX GPU. Based on this I am assuming that the mainline doesn't have
support for A2XX.

However in kernel-msm git checkout from Freedreno, there are A2XX
related source code. I wanted to know whether this code is tested one
and reason for non-inclusion of this code in mainline kernel.

Are there any pointers how I can go about it.

Thank you very much :)

Regards,
    Abhijit

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

Reply via email to