Hi Yakir,
Am 21.03.2016 um 13:17 schrieb Yakir Yang:
On 03/21/2016 07:29 PM, Heiko Stübner wrote:If you're using Exynos as an example, please keep in mind that the
Am Montag, 21. März 2016, 17:28:38 schrieb Yakir Yang:;)
This patch set would add the RGA direct rendering based 2d graphicsvery cool to see that.
acceleration module.
Got it, and I just saw exynos_fimg2d already landed at mainline libdrm.This patch set is based on git repository below:Did you submit your libdrm changes as well?
git://people.freedesktop.org/~airlied/linux drm-next
commit id: 568d7c764ae01f3706085ac8f0d8a8ac7e826bd7
And the RGA driver is based on Exynos G2D driver, it only manages the
command lists received from user, so user should make the command list
to data and registers needed by operation to use.
I have prepared an userspace demo application for testing:
https://github.com/yakir-Yang/libdrm-rockchip
That is a rockchip libdrm library, and I have write a simple test case
"rockchip_rga_test" that would test the below RGA features:
- solid
- copy
- rotation
- flip
- window clip
- dithering
Userspace-interfaces need to be stable so the other side must also get
accepted - even before the kernel change if I remember correctly.
But I don't find the way to submit patches to libdrm, would you like
share some helps here ;)
libdrm license is MIT/X11, not GPL as the kernel. For our Linux distro
we had to disable some Exynos parts because they snuck some GPL code in
there and redistributing libdrm under GPL would cause a big headache
(review of all packages directly or indirectly linking against it).
Thanks,
Andreas