[Freedreno] Whether A200 driver is supported by Linux Mainline Kernel
abhijit
abhijitnaik27 at gmail.com
Thu Nov 16 07:32:21 UTC 2017
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
Interestingly imx53.dtsi is common for both imx53-tx53-x13x.dts and
imx53-qsrb.dts.
imx53.dtsi contains DTS entries for GPU and clocks.
I verified that clock values are same for both qsrb and tx53. Only thing
I have to verify is if GPU completely powered on. Can you please let me
know how to ensure this?
Regards,
Abhijit
On Thursday 16 November 2017 11:30 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 :)
>
> Thank you for your help
>
> Regards,
> Abhijit
> On Friday 10 November 2017 05:16 PM, abhijit wrote:
>> 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
>>> <abhijitnaik27 at 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
>>>> <laanwj at 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
>>>
More information about the Freedreno
mailing list