Miouyouyou / rockchip-vcodec

The Rockchip VPU driver module code for Linux, taken from rockchip-forwardports. I'm still hesitating between rockchip-vcodec and literate-octo-guacamole though...
12 stars 5 forks source link

video/rk_vpu_service.h: No such file or directory #5

Closed zillevdr closed 6 years ago

zillevdr commented 6 years ago

Hello, compiling bring: /usr/src/rockchip-vcodec-testing_dma_interface/vcodec_service.c:45:34: fatal error: video/rk_vpu_service.h: No such file or directory

This header is inside the Rockchip Kernel but not in mainline Kernel. Need I an other patch?

Regards zille

Miouyouyou commented 6 years ago

Greetings,

Just a quick review, since I won't able to provide any exhaustive support this week :

The only one that "kind of" work with very specific kernel versions is the retry branch.

Currently, the main branch will just generate memory poisoning, so I highly discourage you to use it at the moment. That said, IIRC, that header came from the Rockchip kernel. Here : https://github.com/rockchip-linux/kernel/blob/dev-mpp-device/include/uapi/video/rk_vpu_service.h

zillevdr commented 6 years ago

Hello Miouyouyou, I tested with testing_dma_interface and master branch. This evening I will test the retry branch. Best regards zille

zillevdr commented 6 years ago

Hello Miouyouyou, on kernel.org is no kernel version 4.13. I tried to patch version 4.14.23 but it doesn't work. Regards zille.

Miouyouyou commented 6 years ago

There were a build that barely worked with some specific videos : https://github.com/Miouyouyou/RockMyy-Build/releases/tag/v4.13-VPU-Test

Still, the advance of the VPU driver is stalled due to various reasons I'll provide on my Patreon blog this week. Meanwhile, I don't have much time to concentrate on that. If you're in a hurry, you might want to see on #linux-rockchip on irc://irc.freenode.net if someone has a better driver currently, for mainline kernels.

zillevdr commented 6 years ago

For now I switch back to rockchip-kernel. Many thanks for your support. Best regards zille