Can't find mxc-vpu.c driver sources

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't find mxc-vpu.c driver sources

1,888 Views
fabricealcindor
Contributor II

Hi,

I downloaded the BSP package for IMX6 (L3.0.35_4.1.0_130816_source) to get linux drivers sources for VPU. In the imx-vpu-lib package, I can't find mxc-vpu.c, that is the VPU driver implementation.

Where can I find it?

Thank you in advance for your answer.

Fabrice

Labels (2)
Tags (3)
3 Replies

956 Views
fabricealcindor
Contributor II

Thanks for your answer Patrick,

You mentioned ipu, might be a type mistake. My issue deals with vpu. Whatever I look to ipu lib code and problem is the same..

Indeed, vpu_io.c  handles device interface open/close/ioctl, but implementation of /dev/mxc_vpu is missing. That is that part of the kernel I'm interested in.

I found some sources on gitHub but can be sure it is reliable. I guess I can find "official" sources in Freescale package but I don't know where.

0 Kudos

956 Views
LeonardoSandova
Specialist I

you can get it through LTIB. The package is:

-----------------------  ----------------         ------- -------     -----------------------------------------
Package                  Spec file                Enabled License     Summary
-----------------------  ----------------         ------- -------     -----------------------------------------
imx-vpu-lib-3.0.35-4.1.0 imx-vpu-lib                 y    Freescale P platform specific libraries for imx platform

956 Views
smspatrick
Contributor III

There is no such code, only three files needed:

mxc_ipu_hl_lib.h  - high level api header

mxc_ipu_hl_lib.c - high level code

mxc_ipu_lib.c - low level code

all working via ioctrl().

Normally you work with the high level header mxc_ipu_hl_lib.h

includes:

#include "vpu_io.h"

#include "vpu_lib.h"

and compiler flag:

-lipu

imx-lib/ipu at master · genesi/imx-lib · GitHub

greetings

0 Kudos