Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp639015pxv; Thu, 15 Jul 2021 12:10:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwG3sSWt6PR21BuysQQTDgCH/DAOasLVWf7ti4ooDxMjKWXgHSPwgchha8xTtnE+1Ag6PrL X-Received: by 2002:a17:907:7256:: with SMTP id ds22mr7003466ejc.363.1626376234529; Thu, 15 Jul 2021 12:10:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626376234; cv=none; d=google.com; s=arc-20160816; b=Fn9p5NadSdYpEniSdE13ofpR/WR8kivRP0ogy1UusYHBcV9nXU+X+LEXkhEY910e6U zJjA7ayc6qxntoRYBo4L9q9zIjLe6tRHOK08XvZod5zI4ne9sK3es6PRNdvwtX7oQIg8 oLSoOVjqSjyY2VXHaC69maNUAw+FYpP1um1qGoLb/zEzGUmvuxe6dbMMOSREYNuYUWl8 j+4f68uOQYVTiHZv0ph64tmdF04xy8cKb6iLbGFtdsblmpcKPlhJnwlGWqskHz7fzJsP Gpim7uiPB0N92pSeEPP459S6z7sssV80sAAVUloMds4QAvyIcBr55JZXYldGW5MbucId /rNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=r7TxHI+7izXRPqwHBB3ETUXXo+KBsgCBQWn3PnQSXSo=; b=WdCUQLIt0efYRdBXebD6kWgpZGfv9xLdGV/39JllPksqNOjN+h/TaOnNVoxBwpun6D lC3/WmqV48/u8BqtrJ242RLRuuQgiR5bKRLRBBDQab1IFPRr68ONSdHR2KsvJz1qhCtq 1KAzOcyePlK9qCcw0wRkdNdfNkchxK7PLVjl7LYmtHBknfxTEjmo2paPMfaJ7PWz3/7W lqBRzATtLsGrq15TNhe6r6woWdHbG5h/2G5VL2fhxF+XVwEv4yROFIYBi2ghptLqn3Mt G0jcfMhlVlQkdwX7wvYVCChHPR7+ZrC5oL4FPluJ0jq40O2QozS+4utPRnUabfZ94ks2 kdsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R8Pv8Zl9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lf22si7597240ejb.539.2021.07.15.12.10.10; Thu, 15 Jul 2021 12:10:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R8Pv8Zl9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243251AbhGOTJk (ORCPT + 99 others); Thu, 15 Jul 2021 15:09:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:35680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241013AbhGOS6S (ORCPT ); Thu, 15 Jul 2021 14:58:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C747613DC; Thu, 15 Jul 2021 18:55:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375324; bh=4Fu4G4b/XGeKu5EbAcyA0kyrm0McafbQWyb4+B87B1E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R8Pv8Zl9ojI9fXgToGqGdf5KJRA/2948UTsZU1rCY0YHWdKwbsM7ft+TD3gJ5vyeg Pw1q1yE3UBB/ekoy58qdrkFkmdpubS8YXxmHyS/9DjZQlgZD+yQ7yasnxcNxJm+H3+ 2Nz3eRjQA9Z616elAvdiYdLJdlcgGsIbJeEvZ5Xg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alex Bee , Heiko Stuebner , Sasha Levin Subject: [PATCH 5.12 039/242] drm: rockchip: add missing registers for RK3188 Date: Thu, 15 Jul 2021 20:36:41 +0200 Message-Id: <20210715182558.914035025@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alex Bee [ Upstream commit ab64b448a175b8a5a4bd323b8f74758c2574482c ] Add dither_up, dsp_lut_en and data_blank registers to enable their respective functionality for RK3188's VOP. While at that also fix .dsp_blank register which is (only) set with BIT24 (same as RK3066) Signed-off-by: Alex Bee Signed-off-by: Heiko Stuebner Link: https://patchwork.freedesktop.org/patch/msgid/20210528130554.72191-3-knaerzche@gmail.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c index 80053d91a301..b8dcee64a1f7 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c @@ -505,7 +505,10 @@ static const struct vop_common rk3188_common = { .dither_down_sel = VOP_REG(RK3188_DSP_CTRL0, 0x1, 27), .dither_down_en = VOP_REG(RK3188_DSP_CTRL0, 0x1, 11), .dither_down_mode = VOP_REG(RK3188_DSP_CTRL0, 0x1, 10), - .dsp_blank = VOP_REG(RK3188_DSP_CTRL1, 0x3, 24), + .dsp_blank = VOP_REG(RK3188_DSP_CTRL1, 0x1, 24), + .dither_up = VOP_REG(RK3188_DSP_CTRL0, 0x1, 9), + .dsp_lut_en = VOP_REG(RK3188_SYS_CTRL, 0x1, 28), + .data_blank = VOP_REG(RK3188_DSP_CTRL1, 0x1, 25), }; static const struct vop_win_data rk3188_vop_win_data[] = { -- 2.30.2