From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932322AbcCVCOu (ORCPT ); Mon, 21 Mar 2016 22:14:50 -0400 Received: from lucky1.263xmail.com ([211.157.147.133]:42033 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753978AbcCVCOs (ORCPT ); Mon, 21 Mar 2016 22:14:48 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 X-RL-SENDER: ykk@rock-chips.com X-FST-TO: emil.l.velikov@gmail.com X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: ykk@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [RFC PATCH v1 0/4] Add Rockchip RGA support To: Heiko Stuebner References: <1458552518-25527-1-git-send-email-ykk@rock-chips.com> <1511371.I0NIYzh3kP@diego> <56EFE66A.8020404@rock-chips.com> <1867694.1mDULrSexE@phil> Cc: David Airlie , Mark Yao , Joonyoung Shim , Kumar Gala , Ian Campbell , Rob Herring , Pawel Moll , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Emil Velikov From: Yakir Yang Message-ID: <56F0AA8F.3050602@rock-chips.com> Date: Tue, 22 Mar 2016 10:14:39 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1867694.1mDULrSexE@phil> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heiko, On 03/22/2016 08:42 AM, Heiko Stuebner wrote: > Hi Yakir, > > Am Montag, 21. März 2016, 20:17:46 schrieb Yakir Yang: >> On 03/21/2016 07:29 PM, Heiko Stübner wrote: >>> Am Montag, 21. März 2016, 17:28:38 schrieb Yakir Yang: >>>> This patch set would add the RGA direct rendering based 2d graphics >>>> acceleration module. >>> very cool to see that. >> ;) >> >>>> This patch set is based on git repository below: >>>> 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 >>> Did you submit your libdrm changes as well? >>> >>> Userspace-interfaces need to be stable so the other side must also get >>> accepted - even before the kernel change if I remember correctly. >> Got it, and I just saw exynos_fimg2d already landed at mainline libdrm. >> But I don't find the way to submit patches to libdrm, would you like >> share some helps here ;) > Looking at the libdrm sources on cgit.freedesktop.org, I did not find any > specific manual on submitting patches. > > But looking at the dri-list archive, dri-devel@lists.freedesktop.org is the > right list and looking at the libdrm history it looks like Emil Velikov > seems to be doing maintenance-stuff in libdrm. > And as a 3rd recipient, please also include the linux-rockchip list. Great, thanks, I would improve my libdrm changes, and submit them soon :) - Yakir > @Emil, please shout if I read that wrong :-) > > > Hope that helps > Heiko > > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yakir Yang Subject: Re: [RFC PATCH v1 0/4] Add Rockchip RGA support Date: Tue, 22 Mar 2016 10:14:39 +0800 Message-ID: <56F0AA8F.3050602@rock-chips.com> References: <1458552518-25527-1-git-send-email-ykk@rock-chips.com> <1511371.I0NIYzh3kP@diego> <56EFE66A.8020404@rock-chips.com> <1867694.1mDULrSexE@phil> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1867694.1mDULrSexE@phil> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Heiko Stuebner Cc: David Airlie , Mark Yao , Joonyoung Shim , Kumar Gala , Ian Campbell , Rob Herring , Pawel Moll , Russell King , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Emil Velikov List-Id: devicetree@vger.kernel.org Hi Heiko, On 03/22/2016 08:42 AM, Heiko Stuebner wrote: > Hi Yakir, > > Am Montag, 21. M=E4rz 2016, 20:17:46 schrieb Yakir Yang: >> On 03/21/2016 07:29 PM, Heiko St=FCbner wrote: >>> Am Montag, 21. M=E4rz 2016, 17:28:38 schrieb Yakir Yang: >>>> This patch set would add the RGA direct rendering based 2d graphic= s >>>> acceleration module. >>> very cool to see that. >> ;) >> >>>> This patch set is based on git repository below: >>>> 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 >>> Did you submit your libdrm changes as well? >>> >>> Userspace-interfaces need to be stable so the other side must also = get >>> accepted - even before the kernel change if I remember correctly. >> Got it, and I just saw exynos_fimg2d already landed at mainline libd= rm. >> But I don't find the way to submit patches to libdrm, would you like >> share some helps here ;) > Looking at the libdrm sources on cgit.freedesktop.org, I did not find= any > specific manual on submitting patches. > > But looking at the dri-list archive, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org = is the > right list and looking at the libdrm history it looks like Emil Velik= ov > seems to be doing maintenance-stuff in lib= drm. > And as a 3rd recipient, please also include the linux-rockchip list. Great, thanks, I would improve my libdrm changes, and submit them soon = :) - Yakir > @Emil, please shout if I read that wrong :-) > > > Hope that helps > Heiko > > > -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: ykk@rock-chips.com (Yakir Yang) Date: Tue, 22 Mar 2016 10:14:39 +0800 Subject: [RFC PATCH v1 0/4] Add Rockchip RGA support In-Reply-To: <1867694.1mDULrSexE@phil> References: <1458552518-25527-1-git-send-email-ykk@rock-chips.com> <1511371.I0NIYzh3kP@diego> <56EFE66A.8020404@rock-chips.com> <1867694.1mDULrSexE@phil> Message-ID: <56F0AA8F.3050602@rock-chips.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Heiko, On 03/22/2016 08:42 AM, Heiko Stuebner wrote: > Hi Yakir, > > Am Montag, 21. M?rz 2016, 20:17:46 schrieb Yakir Yang: >> On 03/21/2016 07:29 PM, Heiko St?bner wrote: >>> Am Montag, 21. M?rz 2016, 17:28:38 schrieb Yakir Yang: >>>> This patch set would add the RGA direct rendering based 2d graphics >>>> acceleration module. >>> very cool to see that. >> ;) >> >>>> This patch set is based on git repository below: >>>> 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 >>> Did you submit your libdrm changes as well? >>> >>> Userspace-interfaces need to be stable so the other side must also get >>> accepted - even before the kernel change if I remember correctly. >> Got it, and I just saw exynos_fimg2d already landed at mainline libdrm. >> But I don't find the way to submit patches to libdrm, would you like >> share some helps here ;) > Looking at the libdrm sources on cgit.freedesktop.org, I did not find any > specific manual on submitting patches. > > But looking at the dri-list archive, dri-devel at lists.freedesktop.org is the > right list and looking at the libdrm history it looks like Emil Velikov > seems to be doing maintenance-stuff in libdrm. > And as a 3rd recipient, please also include the linux-rockchip list. Great, thanks, I would improve my libdrm changes, and submit them soon :) - Yakir > @Emil, please shout if I read that wrong :-) > > > Hope that helps > Heiko > > >