[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a0b60e8b-7fb7-b2d9-8c91-1be665e43800@collabora.com>
Date: Thu, 7 Sep 2023 14:11:50 +0200
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: Hsiao Chien Sung <shawn.sung@...iatek.com>,
Chun-Kuang Hu <chunkuang.hu@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Matthias Brugger <matthias.bgg@...il.com>,
Jassi Brar <jassisinghbrar@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
Project_Global_Chrome_Upstream_Group@...iatek.com,
Singo Chang <singo.chang@...iatek.com>,
Nancy Lin <nancy.lin@...iatek.com>,
Jason-JH Lin <jason-jh.lin@...iatek.com>
Subject: Re: [PATCH 01/15] soc: mediatek: Add register definitions for GCE
Il 23/08/23 17:13, Hsiao Chien Sung ha scritto:
> Add register definitions for GCE so users can use them
> as a buffer to store data.
>
> Signed-off-by: Hsiao Chien Sung <shawn.sung@...iatek.com>
> ---
> include/linux/soc/mediatek/mtk-cmdq.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/include/linux/soc/mediatek/mtk-cmdq.h b/include/linux/soc/mediatek/mtk-cmdq.h
> index 649955d2cf5c..3eb95ef34c6c 100644
> --- a/include/linux/soc/mediatek/mtk-cmdq.h
> +++ b/include/linux/soc/mediatek/mtk-cmdq.h
> @@ -14,6 +14,13 @@
> #define CMDQ_ADDR_HIGH(addr) ((u32)(((addr) >> 16) & GENMASK(31, 0)))
> #define CMDQ_ADDR_LOW(addr) ((u16)(addr) | BIT(1))
>
Please add a comment explaining "TPR"
> +#define CMDQ_TPR_ID (56)
> +
Please add a comment explaining what those definitions are, what is "SPR"?
Regards,
Angelo
> +#define CMDQ_THR_SPR_IDX0 (0)
> +#define CMDQ_THR_SPR_IDX1 (1)
> +#define CMDQ_THR_SPR_IDX2 (2)
> +#define CMDQ_THR_SPR_IDX3 (3)
> +
> struct cmdq_pkt;
>
> struct cmdq_client_reg {
Powered by blists - more mailing lists