Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296AbcCUJbG (ORCPT ); Mon, 21 Mar 2016 05:31:06 -0400 Received: from lucky1.263xmail.com ([211.157.147.133]:41978 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696AbcCUJbB (ORCPT ); Mon, 21 Mar 2016 05:31:01 -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: airlied@linux.ie X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: ykk@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Yakir Yang To: David Airlie , Mark Yao , Heiko Stuebner Cc: 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, Yakir Yang Subject: [RFC PATCH v1 0/4] Add Rockchip RGA support Date: Mon, 21 Mar 2016 17:28:38 +0800 Message-Id: <1458552518-25527-1-git-send-email-ykk@rock-chips.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1931 Lines: 54 Hi, Mark and all. This patch set would add the RGA direct rendering based 2d graphics acceleration module. 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 Thanks, - Yakir Yakir Yang (4): drm: rockchip: add a common subdrv interfaces drm: rockchip: add RGA driver support ARM: dts: rockchip: add RGA device node for RK3288 ARM: dst: rockchip: enable RGA support on veyron devices .../bindings/display/rockchip/rockchip-rga.txt | 36 + arch/arm/boot/dts/rk3288-veyron.dtsi | 4 + arch/arm/boot/dts/rk3288.dtsi | 13 + drivers/gpu/drm/rockchip/Kconfig | 9 + drivers/gpu/drm/rockchip/Makefile | 1 + drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 82 ++ drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 19 + drivers/gpu/drm/rockchip/rockchip_drm_rga.c | 977 +++++++++++++++++++++ drivers/gpu/drm/rockchip/rockchip_drm_rga.h | 108 +++ include/uapi/drm/rockchip_drm.h | 63 ++ 10 files changed, 1312 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip-rga.txt create mode 100644 drivers/gpu/drm/rockchip/rockchip_drm_rga.c create mode 100644 drivers/gpu/drm/rockchip/rockchip_drm_rga.h create mode 100644 include/uapi/drm/rockchip_drm.h -- 1.9.1