[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240307013458.23550-1-jason-jh.lin@mediatek.com>
Date: Thu, 7 Mar 2024 09:34:54 +0800
From: Jason-JH.Lin <jason-jh.lin@...iatek.com>
To: Jassi Brar <jassisinghbrar@...il.com>, Chun-Kuang Hu
<chunkuang.hu@...nel.org>, Matthias Brugger <matthias.bgg@...il.com>
CC: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Jason-ch Chen <jason-ch.chen@...iatek.com>, "Jason-JH . Lin"
<jason-jh.lin@...iatek.com>, Singo Chang <singo.chang@...iatek.com>, "Nancy
Lin" <nancy.lin@...iatek.com>, Shawn Sung <shawn.sung@...iatek.com>,
<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>, Jason-jh Lin
<jason-jh.lin@...iatek.corp-partner.google.com>
Subject: [PATCH v2 0/4] Add CMDQ API for upcoming ISP feature
From: Jason-jh Lin <jason-jh.lin@...iatek.corp-partner.google.com>
In order to support the upcoming ISP functions, some CMDQ APIs
need to be prepared:
1. cmdq_pkt_mem_move():
For memory or register value from copy src_addr to dst_addr.
2. cmdq_pkt_poll_addr():
Extending cmdq_pkt_poll() to support polling the register address
which doesn't have a subsys id.
3. cmdq_pkt_acquire_event():
To support mutex_lock protection between GCE threads.
Change in v2:
1. Change the return variable from 'err' to 'ret'.
2. Add more comment and commit message.
3. Drop the last PATCH 5/5 in v1.
Change in RESEND v1:
1. Remove Change-Id in commit message.
Jason-JH.Lin (4):
soc: mediatek: mtk-cmdq: Add specific purpose register definitions for
GCE
soc: mediatek: mtk-cmdq: Add cmdq_pkt_mem_move() function
soc: mediatek: mtk-cmdq: Add cmdq_pkt_poll_addr() function
soc: mediatek: mtk-cmdq: Add cmdq_pkt_acquire_event() function
drivers/soc/mediatek/mtk-cmdq-helper.c | 90 ++++++++++++++++++++++++++
include/linux/soc/mediatek/mtk-cmdq.h | 52 +++++++++++++++
2 files changed, 142 insertions(+)
--
2.18.0
Powered by blists - more mailing lists