From patchwork Thu Feb 28 20:03:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 10833651 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 CBB0C1390 for ; Thu, 28 Feb 2019 20:09:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE5072E289 for ; Thu, 28 Feb 2019 20:09:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C8AA2E296; Thu, 28 Feb 2019 20:09:01 +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 38DC02E27B for ; Thu, 28 Feb 2019 20:09:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387554AbfB1UJA (ORCPT ); Thu, 28 Feb 2019 15:09:00 -0500 Received: from mailoutvs35.siol.net ([185.57.226.226]:40920 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387552AbfB1UJA (ORCPT ); Thu, 28 Feb 2019 15:09:00 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 6993E5213F9; Thu, 28 Feb 2019 21:03:38 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta11.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta11.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 7wfP5sypCxRY; Thu, 28 Feb 2019 21:03:38 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 0A6D852222D; Thu, 28 Feb 2019 21:03:38 +0100 (CET) Received: from localhost.localdomain (cpe-86-58-52-202.static.triera.net [86.58.52.202]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id BDE5B5213F9; Thu, 28 Feb 2019 21:03:36 +0100 (CET) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org Cc: mturquette@baylibre.com, sboyd@kernel.org, airlied@linux.ie, daniel@ffwll.ch, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com Subject: [PATCH 0/3] drm/sun4i: DE2/DE3 improvements Date: Thu, 28 Feb 2019 21:03:26 +0100 Message-Id: <20190228200329.11128-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP DE2 and DE3 VI channels support coarse scaling to overcome VI scaler limitations. That is especially useful for downscaling big planes, for example 4K to 1080p. Following patches were tested on H3 and A64 with 4K video playback on 1080p monitor. Without them, picture was mangled. Please take a look. Best regards, Jernej Jernej Skrabec (3): clk: sunxi-ng: Allow DE clock to set parent rate drm/sun4i: Add VI scaler line size quirk for DE2/DE3 drm/sun4i: Improve VI scaling for DE2/DE3 drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 3 +- drivers/clk/sunxi-ng/ccu-sun50i-h6.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-v3s.c | 3 +- drivers/gpu/drm/sun4i/sun8i_mixer.c | 9 +++++ drivers/gpu/drm/sun4i/sun8i_mixer.h | 2 + drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 54 ++++++++++++++++++++++++-- drivers/gpu/drm/sun4i/sun8i_vi_layer.h | 11 ++++++ 7 files changed, 78 insertions(+), 6 deletions(-)