From patchwork Sat Jul 18 20:03:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 11672025 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 765B21510 for ; Sat, 18 Jul 2020 20:05:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4F2F320724 for ; Sat, 18 Jul 2020 20:05:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gqQ7mYM3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Rcf8cdLP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4F2F320724 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=4EAeRRw5yMo/UaTUkcEK9L2bVFywMrcU7oBhOdTKRvA=; b=gqQ7mYM3k4TASyDl7ZzhvmcRoF eAtfXQgN3HBdZuQIE8mFP6tsSmU7vQNukW02dfZMg9hKScfER49n3cKMtwJYPxdSDvxOaUNOmnQe6 i6oZEfoHDS0rMpI3i8uYTHlKa5yBqXxf8l2AEqBavi+chIAApzepDdx7Yc9fEuVmRDOw84UjJDVzt C86Dt7OhSXrsmDV/oqcLoknosYalQ9insH29dNLHxz0IPmuaUa5ylD9nlKaK0P1QwYrzT7n2ah+fv hZLOva89Qz3mv6GNthaLQoryoxDxGzr4TNaShRjDFsGJOxe/crvoiovpL+t5TDqpNQyeuKQp8P6lD YrhpIKyA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwt3e-0006fE-HM; Sat, 18 Jul 2020 20:03:42 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwt3b-0006et-LA; Sat, 18 Jul 2020 20:03:40 +0000 Received: by mail-wr1-x443.google.com with SMTP id q5so14288786wru.6; Sat, 18 Jul 2020 13:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=CDz0040ocUHxpFUIIP4fawvgLepMYbIMzDH3U+AwhDE=; b=Rcf8cdLP2PLdCB7DxKkuMt6EV43l9QwZu9aYwkGNp5s/GN3zpxXluUytmA9Rdu5M8U 99lHO8D6M1RPJOsPbGOfw7m6Ep+/BoBFpwwLTN0X7pwmv739vngR4oqT3jVvmmhVMQI1 AVm3Sc6Sjg0+5PYNYI2B25tyLtGnwzcgFKvumrFNqXEezJcmKAgRWkJo+a5XsOtOItLD AQMIwczK42lKqChvbtm6pjA+fT7dZs+wfo0CB83XoapwO/y66/QwsM8Yl7zRZAEahTX8 Bqza7z8bRgof0sv6QtvtxtViukOaviSYpfRialEf5yVK2o7tFYzR7d/FnjEV1SYSYQCG B8WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CDz0040ocUHxpFUIIP4fawvgLepMYbIMzDH3U+AwhDE=; b=bVm59nMvjx6MN7tuK+OiAM5qBopB3zndUKXBSy+uyg2AtjjR+BznvpE+dT6lTNwDyA 23JOIPiVG54lDFHXztryw2KTHK2Y4Tq2iY34sbCIaTD/VjICl7Dteo7h1gbc38PVHZ0A fWHyVWXiajttxOTCe5GhGEUN4GiG5zSXRMVj5VDJAq2GXb40YZFcnSedT+13Iqzk8iGB dVjjph1vL3xohE2RYiWqjR093cJ4qVOjOqRMhN0Tku0Rx92tN8Reo+fbD+6/eMuErDAJ 3RdmANjO0r5zXtU6teYhACK5SqOHA775ntNxoTUHu3OImwh8Tgqz0BPPHJ/5lZ4rCB3h yePg== X-Gm-Message-State: AOAM5318LbLskMBy/wK9vbh72updy9erotsdDWi+zVj4jIxD+t8aR9K8 qJnI7dWdFLiV1BZHFfmRzw== X-Google-Smtp-Source: ABdhPJx5Fp0CxCd6qslOfU0OK/JewpJD0l6KtPf8y69FELkCFoJGm9+D7k5ACzyusZZ9JM/JA4VQQw== X-Received: by 2002:adf:d842:: with SMTP id k2mr16092208wrl.239.1595102616515; Sat, 18 Jul 2020 13:03:36 -0700 (PDT) Received: from localhost.localdomain ([2a02:810b:f40:e00:922b:34ff:fe38:6455]) by smtp.googlemail.com with ESMTPSA id l15sm21073826wro.33.2020.07.18.13.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2020 13:03:35 -0700 (PDT) From: Alex Bee To: Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner_?= Subject: [PATCH 0/5] drm: rockchip: various ports for older VOPs Date: Sat, 18 Jul 2020 22:03:18 +0200 Message-Id: <20200718200323.3559-1-knaerzche@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200718_160339_725119_A6ABA7FE X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [knaerzche[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Alex Bee , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Daniel Vetter , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This series mainly ports existining functionality to older SoCs - most importantly enables alpha blending for RK3036, RK3066, RK3126 and RK3188. Besides that, it also changes the window type from DRM_PLANE_TYPE_CURSOR to DRM_PLANE_TYPE_OVERLAY for VOPs that have only one overlay window. Alex Bee (5): drm: rockchip: add scaling for RK3036 win1 drm: rockchip: add missing registers for RK3188 drm: rockchip: add alpha support for RK3036, RK3066, RK3126 and RK3188 drm: rockchip: set alpha_en to 0 if it is not used drm: rockchip: use overlay windows as such drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1 + drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 43 ++++++++++++++++++--- drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 1 + 3 files changed, 39 insertions(+), 6 deletions(-)