Can't find mxc-vpu.c driver sources

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can't find mxc-vpu.c driver sources

2,933件の閲覧回数
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

ラベル(2)
タグ(3)
3 返答(返信)

2,001件の閲覧回数
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 件の賞賛
返信

2,001件の閲覧回数
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

2,001件の閲覧回数
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 件の賞賛
返信