From patchwork Thu Aug 23 15:12:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10574247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CAF0813B6 for ; Thu, 23 Aug 2018 15:12:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A72152C109 for ; Thu, 23 Aug 2018 15:12:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9866B2C2BF; Thu, 23 Aug 2018 15:12:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F045E2C109 for ; Thu, 23 Aug 2018 15:12:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732455AbeHWSma (ORCPT ); Thu, 23 Aug 2018 14:42:30 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55441 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732016AbeHWSma (ORCPT ); Thu, 23 Aug 2018 14:42:30 -0400 X-Originating-IP: 2.224.242.101 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id A87CBE000F; Thu, 23 Aug 2018 15:12:22 +0000 (UTC) From: Jacopo Mondi To: Laurent Pinchart , David Airlie Cc: Jacopo Mondi , ulrich.hecht+renesas@gmail.com, kieran.bingham@ideasonboard.com, dri-devel@lists.freedesktop.org (open list:DRM DRIVERS FOR RENESAS), linux-renesas-soc@vger.kernel.org (open list:DRM DRIVERS FOR RENESAS) Subject: [PATCH 0/4] drm: rcar-du: Update to SoC manual revision 1.00 Date: Thu, 23 Aug 2018 17:12:10 +0200 Message-Id: <1535037134-373-1-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello Laurent, Revision 1.00 has brought several updates on how to handle some registers in the DU. In particular - ESCR cannot be written for channels with a DPLL - OTAR cannot be written for channels without a digital output pad - routing superimposition processor output to pincontrollers through DORCR2 register cannot be performed for channels of group 1 - The plane super-imposition register PnMR can be written to groups with more than 1 channel. Patches applied on top of your latest drm/du/next branch. Tested on Salvator-X M3-W with VGA and HDMI output. Tested on Salvator-XS M3-N with VGA and HDMI output. No visible regression, but if you have ideas on how to better verify this please let me know. Thanks j Jacopo Mondi (4): drm: rcar-du: Do not write ESCR for DPLL channels drm: rcar-du: Write OTAR for DPAD channels only drm: rcar-du: Fix handling of DORCR for group 1 drm: rcar-du: Fix handling of PnMR register drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 18 +++++++++++------- drivers/gpu/drm/rcar-du/rcar_du_group.c | 19 ++++++++++++++++--- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 13 +++++++++++-- 3 files changed, 38 insertions(+), 12 deletions(-) --- 2.7.4