From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751442AbcIFECt (ORCPT ); Tue, 6 Sep 2016 00:02:49 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:34604 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750721AbcIFECs (ORCPT ); Tue, 6 Sep 2016 00:02:48 -0400 From: Stefan Agner To: dri-devel@lists.freedesktop.org, meng.yi@nxp.com Cc: alison.wang@freescale.com, jianwei.wang.chn@gmail.com, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH 0/4] drm/fsl-dcu: add overlay and cursor plane support Date: Mon, 5 Sep 2016 21:02:29 -0700 Message-Id: <20160906040233.32471-1-stefan@agner.ch> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds overlay and cursor plane support. It also fixes some issues uncovered during implementation of this. However, the plane updates currently causes the display to flicker for unknown reasons. As far as I can tell, the CRTC atomic_flush should trigger the update correctly via READREG, which according to documentation: The READREG bit causes a single transfer to begin at the next frame blanking period. This bit is cleared when the transfer is complete. I made a video how that looks: https://cloud.agner.ch/index.php/s/Yfqa2u7UBEWUT8N Any ideas? Stefan Agner (4): drm/fsl-dcu: support overlay and cursor planes drm/fsl-dcu: respect pos/size register sizes drm/fsl-dcu: update all registers on flush drm/fsl-dcu: do not update when modifying irq registers drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 50 ++++++++++++++++++++++++----- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 4 --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h | 8 ++--- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 42 +++++++++++------------- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.h | 3 +- 5 files changed, 67 insertions(+), 40 deletions(-) -- 2.9.3