Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2160553lqt; Mon, 22 Apr 2024 03:20:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVI0hc/T8KTmj5Wtgn0VNCJcymxSPEmanX51XWTW0lHn/pBdft8ngldMNhzCMpo4FHwrC8ll3bm1PXZWg3CuN+ffgrc9qseOfhd8Ftt7Q== X-Google-Smtp-Source: AGHT+IH3I/SWwowPbKJlt6GGOwH5JJbExg+FeL4qBCYT7y5DChRrrAS7SuMegu7bfdbU0Vll09iq X-Received: by 2002:a05:620a:13e9:b0:78f:1a57:aaa6 with SMTP id h9-20020a05620a13e900b0078f1a57aaa6mr10092780qkl.7.1713781231746; Mon, 22 Apr 2024 03:20:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713781231; cv=pass; d=google.com; s=arc-20160816; b=BqcMJZObDRv13v+HUGkBQ4Fk7LSAl27OzTEL4YFhkHhqrDYhmyFDwacc0aBdmX9jnt sTI4BaUELDVC6BJU7QVkcJLVGjfHgkKa1hIIN1Az1IGzVVd8NsexxvLmtnbfmPWnukmv RxDeLkUTcbkPdxGMPtkrwpEMR6hSp4cgkaCHMkRMkmHQk7xffV6BnnShvR7pjxGvBWGj LgXCRkvZft9KPn/jA/a8rWSq5CqVJFprDAdpeU38AE/4sMG/qYULTTON/TiPkjM5r4Rg gtmzjjSDuiObU0GB6AljjRYuy6jleXeshZCeVYd+5r5r7+qCOu272I/OMi8uQCD+9M+D 5Ayw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=p2ORgZDzSKVifuuO/4694cN5BzMQozrvf4hgWYIQay0=; fh=FCkiwnbAlor+l4XBvl+zKOQyjLIgg1nUMbXEetFSr80=; b=VgK0sWwv3LjBBNbRPX1WyMKRoJK8J1d0Hd66gX0ig7SgKBbTepdOnYFUkOoBwyoenR xpVouFDQbcQWDGf2x5I7Wq/TRpQBUDSN/7ZVw+2PXEV4vV4qjvQR3vvRdtezHOBTztGX QpHYaUFIO4CH+UdrmjDkaajLtuM3NILE31XGq35GJ1j0aUIyRs82+SYTf8GZdbBHm3dc 3E5BpI/4m1jJSvc6md+CAK7I0fjntGJhL/RvUfDXwlsO2DcrRqlA9FQzk9F6I5xPRg3S GJwQCsJezGH6mFckeei9YoUMDjnm3H/9TPKsc6ow+BKmFt0+USz9vwybWXVOOc+U1zAd oEuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=gk8bVHbC; arc=pass (i=1 spf=pass spfdomain=163.com dkim=pass dkdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-153162-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bp32-20020a05620a45a000b0078edfefdcb9si11294047qkb.368.2024.04.22.03.20.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 03:20:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153162-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=gk8bVHbC; arc=pass (i=1 spf=pass spfdomain=163.com dkim=pass dkdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-153162-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7A0091C209D5 for ; Mon, 22 Apr 2024 10:20:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACADA13E8AC; Mon, 22 Apr 2024 10:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="gk8bVHbC" Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.4]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9308213E3ED for ; Mon, 22 Apr 2024 10:20:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=117.135.210.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713781219; cv=none; b=pathn4EkpnIfCnN5aVn/ZLqoIB/NeXQyscjIjb1GMs4mrsX6p0pksm/gqVaHpE59AhGZtDNz06HR54497CL+C5IYHTfzMt7mPDYqaaGah82ZRJaqZJWVldW32b7k+JUO1GMct/P4R4jazk4egJvAOFDi1Pc7jYtw/pCbZewX0c0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713781219; c=relaxed/simple; bh=+QTRi9bFBrSot9mmYoUkrXbxSIhor3OXIS8dqNGz/c0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bVwZbn80398g4SMJTKW0rlT0ZhfrE1YkNfsnt6r3RHkAUkLAJInhDAyLfiszk86wxjq7REOU/T+uNJ9NEQPoV7ZGRpPc5OdexyZI7Wp5i+zMjmxTfxDiZCjiWpy/FJqgWAnC1geJ9Ty+DBcm8uDlfV9P5cXAdQglhG1ON5QQeTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b=gk8bVHbC; arc=none smtp.client-ip=117.135.210.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=p2ORg ZDzSKVifuuO/4694cN5BzMQozrvf4hgWYIQay0=; b=gk8bVHbCll4il7G5c+K8e fPSYPWXboelLycremu9396QGozJZywTHOj/3HbM+w4Aozz1KqdgHL1BB0elDGegP NlUmgQ19uM1Tu6KK+VUsBKoW1N9fxb+gnoCoBmruvhVIp9zNWIZpf3MRZJolpJGD lp22RovFMEWP5UwpcclMW8= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g1-3 (Coremail) with SMTP id _____wB3fymbOSZmRwO9Bw--.23790S3; Mon, 22 Apr 2024 18:19:10 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: tzimmermann@suse.de, mripard@kernel.org, hjc@rock-chips.com, s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, Andy Yan Subject: [PATCH 1/1] drm/rockchip: vop2: Fix the port mux of VP2 Date: Mon, 22 Apr 2024 18:19:05 +0800 Message-Id: <20240422101905.32703-2-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240422101905.32703-1-andyshrk@163.com> References: <20240422101905.32703-1-andyshrk@163.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:_____wB3fymbOSZmRwO9Bw--.23790S3 X-Coremail-Antispam: 1Uf129KBjvdXoW7Jw13Gw1fWF4fZF4rXFW8JFb_yoWDCFc_Ga y7XrnxWa1kuwnxAw1UCw4fGrW2y3ZFkF4vya10vF9IvanxJ3Wvqa4Sv3y7XF1UAF13Wr1D Was0gr1xZFnxCjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUeb6pDUUUUU== X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbBEAPIXmVODidz9QAAsB From: Andy Yan The port mux of VP2 should be RK3568_OVL_PORT_SET__PORT2_MUX. Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver") Signed-off-by: Andy Yan --- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c index 97b0ab4b6db8..1f4250de570f 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c @@ -2377,7 +2377,7 @@ static void vop2_setup_layer_mixer(struct vop2_video_port *vp) port_sel |= FIELD_PREP(RK3568_OVL_PORT_SET__PORT2_MUX, (vp2->nlayers + vp1->nlayers + vp0->nlayers - 1)); else - port_sel |= FIELD_PREP(RK3568_OVL_PORT_SET__PORT1_MUX, 8); + port_sel |= FIELD_PREP(RK3568_OVL_PORT_SET__PORT2_MUX, 8); layer_sel = vop2_readl(vop2, RK3568_OVL_LAYER_SEL); -- 2.34.1