Message ID | 20240215004931.3808-1-chunkuang.hu@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-66195-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp85859dyb; Wed, 14 Feb 2024 16:51:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUL+rh/8J5Mofd5Gqq7JapgAxPFYrU+Do9PEtxaKP7gujs4huSldwp7r5JU0+dNEzIkVUC6PyNowFvB7zwnFw1efE7soQ== X-Google-Smtp-Source: AGHT+IEejXSUdFd4SERcC6Pj0W/3RUt+3z6USAPVmVwlfViY7+5EO9tKtoBSl7hNxjmkARGFLhcV X-Received: by 2002:a05:622a:190:b0:42d:b3bd:2222 with SMTP id s16-20020a05622a019000b0042db3bd2222mr539291qtw.24.1707958285720; Wed, 14 Feb 2024 16:51:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707958285; cv=pass; d=google.com; s=arc-20160816; b=vRxCf0AzDvHuvonFP/MiEqaYVNBVEYFmkM8EpYojX9XktzEFRyG+M5w3P3L+etRBmT WqSj8Gh4TKSrJFuGeXNALS0YO0WQajWgxYitnfqcu7eqwuyk1k8ZFoDTd5sXv42UCvEC Olvv5LF5VOI35v6UYiCyFsqv6gGPdWmwVTAFa/b46E+IBo+lZNl9FGQG2raGmmfrhYU0 BOAzkaxvJUj4MPUVJ5zCWwDu6Y2P8iBIIMk82IHuh66rEpofjHWrppj5yh5ieN+5b9Wz aGfjo41YOUYQaPR9bvbLnz87eB81tA+kD6N1g1QPNx86h2d3t74KVWNcAHY4VyIRtELB rg+Q== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=teAO/z1wRkmRFTetpL0BlyZl9LGlao23cKF9pVPbHs0=; fh=5fJ5HuOhQ8tDYrJs098Y1CAol/Fv56LtamixBAqCzME=; b=CUkNtanSsrv4UDCq+idVyUJfZ8nChwo69NR5wG7xHtJpUUfJo01TXhi0KEeq/IDQu1 phErqZY2mK+60RbG3KAKYKW1b6caNYJPdeZdrdhLfCXx6Ru//pMxRc0bDitn2IR1QAl0 xjznoT3/B8VkTrXKHh0D2g9qKBrt/UryQRaFAiGzzTJfAPkz+2O7cP+spz3uJDwmbrwZ iyM+O1O7WTDZEJtiz2OCrWqdKglZHEvKekZk+/fgsbn8EnQOKrcoHmLARaq0Q+taYt3F Tz+xqxkdD39YHBYLPsrzGP45mZ88CeMQaQms/kvcrzjYJb7Bce3/66J6MRA85d/h+kAY lWww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j8SoANEa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-66195-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66195-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c30-20020ac86e9e000000b0042c1accc565si225103qtv.51.2024.02.14.16.51.25 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 16:51:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66195-ouuuleilei=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=@kernel.org header.s=k20201202 header.b=j8SoANEa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-66195-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66195-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 8D30F1C26E39 for <ouuuleilei@gmail.com>; Thu, 15 Feb 2024 00:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9644417C9; Thu, 15 Feb 2024 00:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j8SoANEa" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CE55A50; Thu, 15 Feb 2024 00:50:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707958202; cv=none; b=l18ncRTEpWdvXNvkqgalLATtUKQeLyD7Cd2L8/qp98lTDUnwelDumc+iEEZQ7pPzx5CCQcpwXBmEO7/79DeGyXSE7KY6IOLu5a+nR5y8N9M/cdm5Hd2O+U/BTasFQgfNF0/kgp+KgTOwaYmxVwBRvcbqzWPhduDON6EMEqTZeKs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707958202; c=relaxed/simple; bh=IMXlz+K+vPt7moPsPtyRvbcUlG72JSuixPQZI0qMeLY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=UDW5ft1hfC7pXlpLt/JbnoMdyjazkyeItOe9FqE/f3cNzqRLTwgOEtoGUhGvGStLWQISzgRnTuxAJE8nnam1MhSnslWOQkftH29VY/6IV0XC4/Ly5N+rpW/+fWIXTHJkUf7t/utJsjl/fG/hGtZd6deD4MPanavwaUqYZPpIZdc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j8SoANEa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89A98C433F1; Thu, 15 Feb 2024 00:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707958201; bh=IMXlz+K+vPt7moPsPtyRvbcUlG72JSuixPQZI0qMeLY=; h=From:To:Cc:Subject:Date:From; b=j8SoANEaHx7kyPgIzpO6tg0EZvR3ELnnl4+G7fyU8zcygw98P8pl5Kd/KFvXxZ9NC fs9OxOGNxFsxZY4IckiKG8Cz10UhA00lr5/MpQIg+oNn2SN8TLk3IObpAjsBwErRvu oqFudwiDf75/+NUUQ5QZlW/CVDYxX8wpQWWYvs0soJnf//bnHBpVPpivQCy7jh5Ack 4XM4cGxDNKaElSGw51QMD0mFLjdD+yz05CmgGBZeOLL4A7DNJ3K7jXV0jYO53cyuek T96GybEFfgb0ijQADnEDbJWd1oYCwm9iq17jkeR5A5i2Q4depdspDqiJFPWDtDcDce IC5OLPUe8E0xQ== From: Chun-Kuang Hu <chunkuang.hu@kernel.org> To: Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org> Subject: [PATCH 0/9] Remove cl in struct cmdq_pkt Date: Thu, 15 Feb 2024 00:49:22 +0000 Message-Id: <20240215004931.3808-1-chunkuang.hu@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790924067118750857 X-GMAIL-MSGID: 1790924067118750857 |
Series |
Remove cl in struct cmdq_pkt
|
|
Message
Chun-Kuang Hu
Feb. 15, 2024, 12:49 a.m. UTC
cl in struct cmdq_pkt is used to store struct cmdq_client, but every client driver has the struct cmdq_client information, so it's not necessary to store struct cmdq_client in struct cmdq_pkt. Because mailbox maintainer do not like to mix mailbox patch with other patches in a series, so mailbox patch [1] would be sent independently. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/commit/?h=mediatek-cmdq8&id=a1b2f7a7488285975c1f439086f1c4cc51a13bb9 Chun-Kuang Hu (9): soc: mediatek: cmdq: Remove unused helper funciton soc: mediatek: cmdq: Add parameter shift_pa to cmdq_pkt_jump() soc: mediatek: cmdq: Add cmdq_pkt_eoc() helper function soc: mediatek: cmdq: Add cmdq_pkt_nop() helper function drm/mediatek: Drop calling cmdq_pkt_finalize() media: platform: mtk-mdp3: drop calling cmdq_pkt_finalize() soc: mediatek: cmdq: Remove cmdq_pkt_finalize() helper function drm/mediatek: Do not store struct cmdq_client in struct cmdq_pkt media: platform: mtk-mdp3: do not store struct cmdq_client in struct cmdq_pkt drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 9 +- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 14 ++- .../platform/mediatek/mdp3/mtk-mdp3-core.c | 2 + .../platform/mediatek/mdp3/mtk-mdp3-core.h | 1 + drivers/soc/mediatek/mtk-cmdq-helper.c | 85 +++---------------- include/linux/soc/mediatek/mtk-cmdq.h | 50 ++++------- 6 files changed, 39 insertions(+), 122 deletions(-)