Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2018-03-19 Thread Abhijit
Hi ilia, Thank you very much for information. On Friday 16 March 2018 08:45 PM, Ilia Mirkin wrote: Hi Abhijit, Looks like there may have been some duplication of effort... https://github.com/laanwj/linux-freedreno-a2xx/commits/4.15-rc5-rdu1-kgsl Seems to be based on 4.15 if the branch name

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2018-03-16 Thread Ilia Mirkin
Hi Abhijit, Looks like there may have been some duplication of effort... https://github.com/laanwj/linux-freedreno-a2xx/commits/4.15-rc5-rdu1-kgsl Seems to be based on 4.15 if the branch name is to be believed. -ilia On Fri, Mar 16, 2018 at 8:54 AM, abhijit wrote: > Hi Waldimir, > > Hi Wlad

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2018-03-16 Thread abhijit
Hi Waldimir, Hi Wladimir, Can you please let me know if you have any plans to make changes for A200 mainline? I have ported the KGSL driver along with other source files to 4.14.1 kernel and got it working. Can you let me know, if I can commit the code to your repository? Regards, Abhi

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2018-03-05 Thread abhijit
Hi All, This is to inform that we managed to get the 3D driver working on Karo board The issue was with u-boot. In u-boot code of Karo, CCM_CMEOR.MOD_EN_OV_GPU was set to 0 CCM_CCGR5.gpu_clk_enable was set to 0 After changing above register bits to one, I am able to get GPU ID Thank you very

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-12-11 Thread abhijit
Hi All, Just to update, Karo doesn't have support 2.6.35 Linux Kernel However I observed that even w.r.t u-boot, tx53 based board returns zero as GPU ID and QSRB board returns proper GPU ID Regards, Abhijit On Friday 24 November 2017 10:43 AM, abhijit wrote: Hi all, @Wladimir, Thank you

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-11-23 Thread abhijit
Hi all, @Wladimir, Thank you very much for you kind response. I am planning to boot older version of linux kernel(2.6) on Karo board and use reverse engineering tools to get any GPU related settings. Please let me know what are the important settings I have to look into, that may be useful t

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-11-16 Thread Wladimir J. van der Laan
Hello abhijit, On Thu, Nov 16, 2017 at 01:02:21PM +0530, abhijit wrote: > Hi Wladimir, > > Thank you very much for you response. > > I am using the kernel which is provided by you and I was able to > successfully get the GPU driver on to imx53 based QSRB board. > > I am using the same kernel fo

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-11-15 Thread abhijit
Hi Wladimir, Thank you very much for you response. I am using the kernel which is provided by you and I was able to successfully get the GPU driver on to imx53 based QSRB board. I am using the same kernel for imx53 based tx53 board from karo, but I am having issue with getting GPU ID Inter

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-11-15 Thread Wladimir
On Thu, Nov 16, 2017 at 7:00 AM, abhijit wrote: > Hi All, > > One more observation is, for TX53, uboot is enabling L2 cache "Enabling L2 > Cache .." but for QSRB it is not showing such message. > > Please let me know if this can make difference. Which I think is unlikely :) If the registers of th

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-11-15 Thread abhijit
Hi All, One more observation is, for TX53, uboot is enabling L2 cache "Enabling L2 Cache .." but for QSRB it is not showing such message. Please let me know if this can make difference. Which I think is unlikely :) Thank you for your help Regards, Abhijit On Friday 10 November 2017 05:16

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-11-10 Thread abhijit
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 fo

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-09-08 Thread Rob Clark
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 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

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-09-07 Thread abhijit naik
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 t

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-17 Thread Wladimir J. van der Laan
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

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-17 Thread abhijit
Hi All, I am able to get the 3D graphic driver to run. Thank you very much for kind help. 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

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-16 Thread abhijit
Hi Wladimir, Thank you very much for your help. I am able to run kmscube application and able to notice substantial difference b/w H/W and S/W rendering. I also changed freedreno test-cube.c application with GBM interface and it also worked fine. Regards, Abhijit On Thursday 10 August

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-10 Thread Wladimir J. van der Laan
Hello Abhijit, On Thu, Aug 10, 2017 at 07:45:03PM +0530, abhijit wrote: > Hi Wladimir, > > Thank you very much for the reply. > > I am able to build the kernel, drm and mesa components. > > After loading the kernel, I am getting following entries, > /dev/gsl_kmod > /dev/dri/card0 >

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-10 Thread abhijit
Hi Wladimir, Thank you very much for the reply. I am able to build the kernel, drm and mesa components. After loading the kernel, I am getting following entries, /dev/gsl_kmod /dev/dri/card0 /dev/dri/renderD128 Can you please let me know what are the test application th

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-07 Thread Wladimir
> I guess that it is failing to find the old kgsl shim drm driver, which > enabled allocation of GEM buffers for pixmaps. I know Wladimir played > a bit with this on imx5, but I think he was just using gbm/kms and not > x11. I guess he was using imx-drm for GEM buffer allocation? Yes, for the a2

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-07 Thread abhijit
Hi Rob, Thank you very much for information. Actually I am not constrained to use X server. But can you please let me know what are the components that may be needed for testing freedreno test applications, apart from libdrm and mesa? I thought X may be needed for graphic drawing. Sorry if

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-06 Thread Rob Clark
On Thu, Aug 3, 2017 at 8:23 AM, abhijit wrote: > Hi All :) > > Finally I am able to get freedreno_drv.so and xserver ABI version to get > matched. > > I am using buildroot to get the proper package dependency and build. > > Currently our target has following binaries, > $(ROOT_DIR)/usr/lib/xor

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-03 Thread abhijit
Hi All :) Finally I am able to get freedreno_drv.so and xserver ABI version to get matched. I am using buildroot to get the proper package dependency and build. Currently our target has following binaries, $(ROOT_DIR)/usr/lib/xorg/modules/drivers/freedreno_drv.so $(ROOT_DIR)/usr/lib/d

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-07-14 Thread Rob Clark
On Fri, Jul 14, 2017 at 6:52 AM, abhijit wrote: > Hi all, > > Running xinit load freedreno_drv.so file after adding configuration in > /etc/X11/xorg.conf, > > Section "Server Flags" > Option "IgnoreABI" > EndSection > > Section "Device" > Identifier "Device0" >

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-07-14 Thread abhijit
Hi all, Running xinit load freedreno_drv.so file after adding configuration in /etc/X11/xorg.conf, Section "Server Flags" Option "IgnoreABI" EndSection Section "Device" Identifier "Device0" Driver "freedreno" VendorName "Freedreno " B

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-07-14 Thread abhijit naik
Hi Ilia, Thank you very much for your reply. I am able to create msm_dri.so file with options you provided Even after that, soft pipe is being used for rendering. I am suspecting that glxinfo will use driver depending on _drv.so being detected by xinit Now I have freedreno_drv.so too. But s

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-07-10 Thread Ilia Mirkin
On Mon, Jul 10, 2017 at 10:53 AM, abhijit wrote: > 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 a

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-07-10 Thread abhijit
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

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-07-09 Thread Rob Clark
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 wrote: > Hi, > > I needed some help with respect to binding of freedreno driver to mesa >

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-07-07 Thread abhijit
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=getviewcate

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-06-01 Thread abhijit
Hi Rob and Nicolas, Thank you very much for your replies. On Wednesday 31 May 2017 05:45 PM, Rob Clark wrote: On Wed, May 31, 2017 at 3:42 AM, 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 ma

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-05-31 Thread Rob Clark
On Wed, May 31, 2017 at 3:42 AM, 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 main

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-05-31 Thread Nicolas Dechesne
On Wed, May 31, 2017 at 9:42 AM, abhijit wrote: > 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. which branch/tree are you referring to here?

[Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-05-31 Thread abhijit
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-