![]() change vop mode_set timing to make it more safely. provide a help function from vop for encoder to do mode config, instead of use clk_prepare()/unprepare() at probe()/remove() and clk_enable()/disable()Īt runtime instead of clk_prepare_enable(). fix some mistake, bugs, remove unused define, more better code style etc. set gem buffer pitch 64 bytes align, needed by mali gpu. remove unused rockchip_gem_prime_import_sg_table. use unlocked api for drm_fb_helper_restore_fbdev_mode. drop all special ioctl and use generic kms ioctl instead. doing DMA start with a 32-bit masks with dma_mask and dma_coherent_mark remove special mmap ioctl, do userspace mmap with normal mmap() or mmap offset remove drm_platform_*() usage, use register drm device directly. init cursor plane with universal api, remove unnecessary cursor set,move change "crtc->fb" to "crtc->primary-fb" reference framebuffer when used and unreference when swap out vop add cursor set, move funcs to rockchip drm crtc. use drm_crtc_init_with_planes and drm_universal_plane_init. Master device and each vop device can shared the drm dma mapping. use dma-mapping API with ARM_DMA_USE_IOMMU, create dma mapping by use the component framework to defer main drm driver probe Signed-off-by: Mark Yao Signed-off-by: Daniel Kurtz Acked-by: Daniel Vetter Reviewed-by: Rob Clark This patch adds the basic structure of a DRM Driver for Rockchip Socs. X-Spam-Checker-Version: SpamAssassin 3.3.1 () on RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, List-Id: Direct Rendering Infrastructure - DevelopmentĬontent-Type: text/plain charset="us-ascii" Subject: drm: rockchip: Add basic drm driver Received: from localhost.localdomain (localhost )īy (Postfix) whith ESMTP id 31575KAG377 Received: from localhost.localdomain (localhost.localdomain )īy (Postfix) with ESMTP id 975C929A74 Received: from mark.yao? (unknown )īy (Postfix) with SMTP id 53AE2787B X-Original-To: from ( )īy (Postfix) with ESMTP id AD6A36FBE3 ![]() Received: from (localhost )īy (Postfix) with ESMTP id 5690A6E140 Received: from ( )īy (Postfix) with ESMTP id 7ABE820200 Received: from (localhost )īy (Postfix) with ESMTP id BE5DB20259 X-Original-To: from ( )īy (Postfix) with ESMTP id C8722BEEA6 ![]()
0 Comments
Leave a Reply. |