All of lore.kernel.org
 help / color / mirror / Atom feed
* rockchip-vpu driver usability
@ 2018-05-24 10:34 Baruch Siach
  2018-05-24 11:46 ` Tomasz Figa
  2018-05-24 12:02 ` Myy
  0 siblings, 2 replies; 14+ messages in thread
From: Baruch Siach @ 2018-05-24 10:34 UTC (permalink / raw)
  To: Tomasz Figa
  Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Myy Miouyouyou

Hi Tomasz,

I'm trying to get the RK3288 VPU do h.264 encoding on the Tinkerboard platform 
with latest mainline kernel. I found the v4l2 based rockchip-vpu driver in the 
vendor kernel. But I could not get it work even in the context of that kernel. 
Is this driver in usable state? If not, how far it is from being usable?

Another option is to forward port the rockchip-vcodec shim driver for the MPP 
framework. I'm aware of Myy Miouyouyou's work[1] in this area. But this driver 
seems unusable as well. Testing v4.17-rc6, the PM code fails to enable the 
video power domain (the hvec power domain enables correctly, though). The 
error is:

  rockchip-pm-domain ff730000.power-management:power-controller: failed to get ack on domain 'pd_video', val=0x8021c

With the TinkerOS provided kernel I managed to make the VPU encode to h.264 
using the gstreamer MPP plugin. But I would rather not use that kernel if 
possible, since that would mean backporting other v4l2 code that I need.

Do you have any other idea/direction for me to explore?

Thanks,
baruch

[1] https://github.com/Miouyouyou/rockchip-vcodec

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-07-18  5:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-24 10:34 rockchip-vpu driver usability Baruch Siach
2018-05-24 11:46 ` Tomasz Figa
     [not found]   ` <CAAFQd5DZkLoR3HCD74JdWQzg4XZ8Rmh9=DCgAhYX=7ue-iHDtA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-05-24 12:18     ` Baruch Siach
2018-05-25  6:10       ` Tomasz Figa
     [not found]         ` <CAAFQd5Ap9v2-oyxZ8UK1bfsfEKd7K+=1erz+aK75SsLdd1SxHQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-05-25  9:52           ` JeffyChen
     [not found]             ` <5B07DCF9.2090709-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2018-07-02  7:24               ` Baruch Siach
2018-07-02  7:30                 ` Tomasz Figa
     [not found]                   ` <CAAFQd5Ddc2w7GdzWcSPBKbpnkc2KLAXePBEbSNjbkt9aNjhOAg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-07-02 14:57                     ` Baruch Siach
2018-07-03 14:29                       ` Tomasz Figa
     [not found]                         ` <CAAFQd5CytjMN1ZvX27TGuHbfywbQ3Lmqh6UV6YJdgSouqQ_+8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-07-04  8:55                           ` Baruch Siach
     [not found]                             ` <20180704085537.vglkza6bwllx3573-MwjkAAnuF3khR1HGirfZ1z4kX+cae0hd@public.gmane.org>
2018-07-04  9:04                               ` Tomasz Figa
     [not found]                                 ` <CAAFQd5AYQVY-MPVsGn4XeM6m+uTV+-MYdU4DwmxkGCPr0BQthw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-07-05 12:14                                   ` Baruch Siach
2018-07-18  5:44                                     ` Tomasz Figa
2018-05-24 12:02 ` Myy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.