From patchwork Tue Feb 26 14:25:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10830333 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 8A4ED13B5 for ; Tue, 26 Feb 2019 14:26:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79DDB2C61C for ; Tue, 26 Feb 2019 14:26:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 780C82C62C; Tue, 26 Feb 2019 14:26:03 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 39F632C62F for ; Tue, 26 Feb 2019 14:26:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 76A7689EA3; Tue, 26 Feb 2019 14:26:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0280389EA3 for ; Tue, 26 Feb 2019 14:25:59 +0000 (UTC) Received: from localhost (aaubervilliers-681-1-27-150.w90-88.abo.wanadoo.fr [90.88.147.150]) (Authenticated sender: maxime.ripard@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 26DF5240002; Tue, 26 Feb 2019 14:25:54 +0000 (UTC) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 0/4] drm/sun4i: rgb: Relax the pixel clock check Date: Tue, 26 Feb 2019 15:25:45 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Kocialkowski , dri-devel@lists.freedesktop.org, Vasily Khoruzhick , Sean Paul , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi, This implements roughly what we discussed as part of the ANX6345 series to relax the pixel clock validation while still filtering out the modes we can't reach using the bridges. Let me know what you think, Maxime Maxime Ripard (4): drm/sun4i: Move the panel pointer from the TCON to the encoders drm/sun4i: rgb: Store the bridge pointer drm/sun4i: Move rate variables to long long drm/sun4i: rgb: Change the pixel clock validation check drivers/gpu/drm/sun4i/sun4i_lvds.c | 29 ++++-------- drivers/gpu/drm/sun4i/sun4i_rgb.c | 74 +++++++++++++++++++++---------- drivers/gpu/drm/sun4i/sun4i_tcon.h | 2 +- 3 files changed, 64 insertions(+), 41 deletions(-) base-commit: bfeffd155283772bbe78c6a05dec7c0128ee500c Tested-by: Vasily Khoruzhick # tested on pinebook