Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4203938imm; Mon, 30 Jul 2018 10:21:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdDoq8m90T2HNwXjY5Inh4NGUb4AfLQf8xAWpkNd02tSPmqrawaKLLJN6+Ix81v+ZpQG7tW X-Received: by 2002:a17:902:7d8f:: with SMTP id a15-v6mr17402997plm.332.1532971293264; Mon, 30 Jul 2018 10:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532971293; cv=none; d=google.com; s=arc-20160816; b=hZLtFVQL/3Mb+vnnwVyl0yiJVqdl7jf6PwILp0Q3B/+8T6JtmFa+eyEX4ddwZEGYUP NAcXf3DJ+6d4Kyj1BWsPF2xYHuhPYLSlvtgqXEltxzypK4Tn5+HkSw0vF7tNEPqJ8Rmy sPhBUFBJkYeVTjWDVjyPE1pAGMRC0JS84MAk/tCzqMka2tyK5y3AMbQFcsFg7BEcvc4F 2CODDHhgg35M1zBOPLJ7kkWMGh6AlOAnvMYTZYwz9cfHomFJXHGLu+lr8kpTfNIGTHj0 Wx9dJa/QSq6aa7ikadD4Qxfq0Q5TDi0TUiSyYTApElJxpotO4B1DfzsCRYERwZYC2i5L rxEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=YUjPA1yIn1M6wAlZRWYJP1qvr3L0iu2hQGQlT5ZA7ug=; b=aM4qyjuRyTZ9XFd2r08SCtAiF7rbhVS7GiPzx43yG7oE2d4yHTtxmc0kfSJGyzLIut Pj1A9K4J6al5Z+1CJYKa6YgueABFUcYCBF/QIrMqWvBRzQbhb1bS/ApTY12ytfu6mVS1 p6hrU2YDVtPZ/lXidlhhk0vdiAySEehO4godjK3qNgAyUIZaqRdYANTJFsWU5E1YbRHt sM364IQjAPz8pZyMmgScBmisfldEdNoox6rWQ2203GVe3yq5W/2Blsc2qnatxoQa+Un9 w00wskKH+wG0S3MwZZsKItkY6+VYm2QixwfJfj6qyiHS44A3F74iJHCxEOBKVH1s89Iu TCWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4-v6si10978768pfa.285.2018.07.30.10.21.18; Mon, 30 Jul 2018 10:21:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727084AbeG3S41 (ORCPT + 99 others); Mon, 30 Jul 2018 14:56:27 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:57897 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbeG3S41 (ORCPT ); Mon, 30 Jul 2018 14:56:27 -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 4E745E000D; Mon, 30 Jul 2018 17:20:26 +0000 (UTC) From: Jacopo Mondi To: Laurent Pinchart , David Airlie Cc: Jacopo Mondi , dri-devel@lists.freedesktop.org (open list:DRM DRIVERS FOR RENESAS), linux-renesas-soc@vger.kernel.org (open list:DRM DRIVERS FOR RENESAS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 0/3] drm: rcar-du: Rework clock configuration Date: Mon, 30 Jul 2018 19:20:11 +0200 Message-Id: <1532971214-17962-1-git-send-email-jacopo@jmondi.org> X-Mailer: git-send-email 2.7.4 X-Spam-Level: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello this series improves the DU peripheral input clock selection procedure, fixing high-resolution modes for non-DPLL channels, as DPAD and LVDS ones. The first patch in the series is a rework from Laurent of the clock selection procedure, clearly separating DPLL equipped channels from channels only equipped with an interanl divider. The non-DPLL channels clock input selection procedure is improved in patch [3/3] by exploiting the external clock source ability to generate the desired pixel clock (when possible). This improvements is sparkled from the following BSP patch https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/commit/ ?id=32e9be612773ce0ed75295a10764151633938528 that un-conditionally uses the externally generated clock source as output pixel clock. Tested on M3-W Salvator-X board and VGA output: fixes 1920x1080 display. Jacopo Mondi (2): drm: rcar-du: Rename var to a more precise name drm: rcar-du: Improve non-DPLL clock selection Laurent Pinchart (1): drm: rcar-du: Rework clock configuration based on hardware limits drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 182 ++++++++++++++++++++++----------- 1 file changed, 122 insertions(+), 60 deletions(-) -- 2.7.4