imx6 driver for benchmarking
Wladimir J. van der Laan
laanwj at gmail.com
Fri Feb 3 08:18:54 UTC 2017
On Fri, Feb 03, 2017 at 12:11:50AM -0500, Grégory Zaccaro wrote:
> Hi Everybody,
>
> I want to develop a benchmarking application for a imx6. I was looking for
> a way to find the statistics of the GPU utlization when I found the Etnaviv
> project.
What is your intent?
For looking at GPU utilization with the Vivante kernel driver there's "viv_gpu_top"
in the etnaviv repository. It displays some information in real-time:
https://github.com/etnaviv/etna_viv/blob/master/attic/utils/viv_gpu_top.c
For the Etnaviv driver stack there's some experimental patches that add
performance counters readout, see the "2016-12-09" series here:
https://patchwork.kernel.org/project/dri-devel/list/?submitter=19571
But if you're not using Etnaviv in the first place that's not useful to you.
> I have a custom board which has a imx6 on it with a GC2000 GPU and I have
> CentOS running on it.
>
> According to the documentation and parts of the code that I had read on the
> Etnaviv Github repo, it would be possible, correct me if i'm wrong.
>
> Is there is documentation explaining how to install and test the driver ?
> I'm not really familiar with Linux. any help would be really appreciated !
Not really at this point, as far as I know. All the existing documentation
is far out of date, especially now that etnaviv is merged in mainline.
Things are somewhat experimental and if you're not really familiar with Linux
development I fear you'll not get far.
You'll at least need to build mainline Mesa, libdrm and a recent kernel.
Wladimir
More information about the etnaviv
mailing list