From patchwork Wed Jul 22 18:13:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 11679105 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 4750313B4 for ; Wed, 22 Jul 2020 18:15:23 +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 1F2CA20787 for ; Wed, 22 Jul 2020 18:15:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UArch83z"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dTlq/KdG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F2CA20787 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=QOHSPab8KdddzwHWbXF3lyc8fKgPb14h4v6LC8xAOHc=; b=UArch83zkfWmez9dhHn0x3eP1y PSQZCKZ66lgqWCR1o0Y98UNkJpcTpzbGshr0qeh0NHhZKGW5m7Dc02TiTnXDSwi1tc/zccO4nZ0t0 pmg4r5jSH8NSFufAj/wGk8cbPdrHnB8ORnME6+rM3Csg4snouc5s2TsBoeC4+oAfUVU+7vLFVEkTb 1MqTr1RvKUNzfeC8QEkqOO+b8rOLjqW4kh4K6iN3k8bmpxtZhwlWVH3uIOzBA21wlvDqmxGn1SaN2 8ugTwZgZwrO+f/8E6EPKnu3FTnHyPgmKC0eTqxSHzYJGe7SSxWhUN2Q3hmw21SZz9LY05LDBl8ZaG RampXkmQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyJFV-00078j-0d; Wed, 22 Jul 2020 18:13:49 +0000 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyJFS-00078K-K6; Wed, 22 Jul 2020 18:13:47 +0000 Received: by mail-ej1-x644.google.com with SMTP id y10so3274983eje.1; Wed, 22 Jul 2020 11:13:46 -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=4+5ISOyb7tM5s6mEPwXPVcwm6EctmoSKPA8kmLF4uKI=; b=dTlq/KdGP1L+HQ163BMoFKaZzkW1o0bImAoZppaIGDaNTzP3zxFSz6uSq5wXoAFpwF EL0Q+NQ9IHYNsDuGOQU6kz02Iy+WrcfFlwWdP5BSCyaOzRrjDOxX73DFE+B7Z1ehZ2C/ V2zKXSX2fgIBxImbV1zVW0Cqz76fHwI7Zwl5WhJyse0E8FlGQIzGt7peaXuI2GFqokEP yn9Qjppak9nXO26xpLmyFUyK7F5BxZ2/A9HMGqWoMIjRCMJn0JTVMdPz88rLb79Hjh/+ jesWVlweehg+eyT0M73fJOId8f8npsd4estpoZgPSIugIGFreFAuOVlw/kcYtjw6j4Av nYMA== 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=4+5ISOyb7tM5s6mEPwXPVcwm6EctmoSKPA8kmLF4uKI=; b=lbLgEC9G0/fL9oyYiWBZQEDXNcFcWXp5gjUOwZFJZ4MadtMDr1G83Wx3wn1/ow/d4S 4/1PbRh8rhoVlOJeuYmmzcbc+gVa24+mwlRUjW5LZ4YfUYMRDX1wx91jKhdMQQurtUJ9 9+ihSrEH/Fnfgzj/pq7QQb6QgkXSp/PtzMNjv9rGKkl58IXy8bW6ly4EleRU5pCUHcjQ Iu/bl5izGMalgjcYvWH8j+4jlQP76Z6B9jVrnxXFx5dXXaFCh8sY9s31GvNqCBSlfG5O +VYU/Cwdkg/3MXkEpRaW0LvPF67FUC/rYtBUFc7Uk5T13SJoUp3fCvd7N6ZMlwml/A0Y c/ng== X-Gm-Message-State: AOAM533F1yszicGgVXa+4gSfkIkZBiagG//qlKq/iZTPAgp2dy7484G8 wNAAxC7m0WMHtMtN8285jg== X-Google-Smtp-Source: ABdhPJxH3ykklNW90CXxFH3WCY8jAJvtLfyYFceNbp5BHs4YaXxdf5D02pAOLtVlNj7b+JXICAZrbA== X-Received: by 2002:a17:906:eb93:: with SMTP id mh19mr767276ejb.552.1595441625318; Wed, 22 Jul 2020 11:13:45 -0700 (PDT) Received: from localhost.localdomain ([2a02:810b:f40:e00:922b:34ff:fe38:6455]) by smtp.googlemail.com with ESMTPSA id x64sm372954edc.95.2020.07.22.11.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 11:13:44 -0700 (PDT) From: Alex Bee To: Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner_?= Subject: [PATCH v2 0/5] drm: rockchip: various ports for older VOPs Date: Wed, 22 Jul 2020 20:13:27 +0200 Message-Id: <20200722181332.26995-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-20200722_141346_713794_65A55B99 X-CRM114-Status: GOOD ( 10.52 ) 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:644 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_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_SIGNED Message has a DKIM or DK signature, not necessarily valid -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 Hi, 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 (1) overlay window. Regards, Alex Changes in v2: - drop not yet upstreamed dsp_data_swap from RK3188 regs - rephrase most commit messages 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 | 42 ++++++++++++++++++--- drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 1 + 3 files changed, 38 insertions(+), 6 deletions(-)