From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawnguo@kernel.org (Shawn Guo) Date: Thu, 29 Dec 2016 10:37:25 +0800 Subject: [PATCH v3 0/3] Add overlay plane support for ZTE drm driver Message-ID: <1482979048-32037-1-git-send-email-shawnguo@kernel.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Shawn Guo Changes for v3: - Let zx_plane be accessible from zx_vou driver, and so we can easily access all the data encoded in zx_plane with a drm_plane pointer. Thus, function zx_overlay_find_vl_idx() can be saved completely. - Refine the existing zx_plane driver a bit to support disable graphic layer, and make the support of overlay plane a bit easier, by sharing VOU layer setup and teardown functions between graphic and video layers. Changes for v2: - Use clipped coordinates for overlay position calculation Shawn Guo (3): drm: zte: make zx_plane accessible from zx_vou driver drm: zte: add .atomic_disable hook to disable graphic layer drm: zte: add overlay plane support drivers/gpu/drm/zte/zx_plane.c | 338 ++++++++++++++++++++++++++++++++---- drivers/gpu/drm/zte/zx_plane.h | 12 +- drivers/gpu/drm/zte/zx_plane_regs.h | 51 ++++++ drivers/gpu/drm/zte/zx_vou.c | 181 ++++++++++++++----- drivers/gpu/drm/zte/zx_vou.h | 3 + drivers/gpu/drm/zte/zx_vou_regs.h | 18 ++ 6 files changed, 521 insertions(+), 82 deletions(-) -- 1.9.1