mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Du, Bin" <bin.du@amd.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: mchehab@kernel.org, hverkuil@xs4all.nl,
	laurent.pinchart+renesas@ideasonboard.com,
	bryan.odonoghue@linaro.org,
	prabhakar.mahadev-lad.rj@bp.renesas.com,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	sultan@kerneltoast.com, pratap.nirujogi@amd.com,
	benjamin.chan@amd.com, king.li@amd.com,
	gjorgji.rosikopulos@amd.com, Phil.Jawich@amd.com,
	Dominic.Antony@amd.com, mario.limonciello@amd.com,
	richard.gong@amd.com, anson.tsao@amd.com,
	Alexey Zagorodnikov <xglooom@gmail.com>
Subject: Re: [PATCH v7 3/7] media: platform: amd: Add isp4 fw and hw interface
Date: Tue, 3 Feb 2026 14:37:01 +0800	[thread overview]
Message-ID: <fa7a7f95-95f8-4ab9-a076-7207138c36fe@amd.com> (raw)
In-Reply-To: <aYBqDp1mqj7bnfLy@kekkonen.localdomain>

Hi Sakari,

On 2/2/2026 5:10 PM, Sakari Ailus wrote:
> Hi Bin,
> 
> On Tue, Jan 20, 2026 at 05:22:41PM +0800, Du, Bin wrote:
>> Hi Sakari, there's still one left. Could you please help check it?
>>
>> On 1/7/2026 4:44 PM, Du, Bin wrote:
>>> Thank you, Sakari for the feedback.
>>>
>>> On 12/22/2025 5:37 PM, Sakari Ailus wrote:
>>>> Hi Bin,
>>>>
>>>> On Tue, Dec 16, 2025 at 05:13:22PM +0800, Bin Du wrote:
>>
>> [snip]
>>
>>>>> +enum isp4fw_buffer_source {
>>>>> +    /* The buffer is from the stream buffer queue */
>>>>> +    BUFFER_SOURCE_STREAM,
>>>>> +};
>>>>
>>>> Could you also use the ISP4 (or ISP4IF) prefix for these, please?
>>>> Many look
>>>> rather generic.
>>>>
>>>
>>> Thank you for highlighting this matter, since these definitions are
>>> located in isp4_fw_cmd_resp.h, ISP4_FW may be a more appropriate prefix.
>>> Just to confirm: are you suggesting that we should add this prefix to
>>> all macros and enums? For example, changing CMD_ID_SET_STREAM_CONFIG to
>>> ISP4_FW_CMD_ID_SET_STREAM_CONFIG, and BUFFER_SOURCE_STREAM to ISP4_FW
>>> _BUFFER_SOURCE_STREAM? Our initial thought was that these would only be
>>> used within ISP and shouldn't lead to any confusion.
>>>
>>
>> Hi Sakari, would you please help to confirm so we can decide if further
>> modification is needed.
> 
> I'd prefer to use a specific prefix, indeed. See e.g.
> drivers/media/platform/ti/omap3isp/isp.h . This was the first supported ISP
> driver so some prefixes are just "isp_". The shorter names you have, the
> larger is the probability of clashing with something generic. It also makes
> it obvious to the reader this is specific to the driver.
> 

Very good consideration and reference, will add prefix ISP4FW_ to make 
them specific.

-- 
Regards,
Bin


  reply	other threads:[~2026-02-03  6:37 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-16  9:13 [PATCH v7 0/7] Add AMD ISP4 driver Bin Du
2025-12-16  9:13 ` [PATCH v7 1/7] media: platform: amd: Introduce amd isp4 capture driver Bin Du
2025-12-22  9:23   ` Sakari Ailus
2026-01-06  8:30     ` Du, Bin
2025-12-16  9:13 ` [PATCH v7 2/7] media: platform: amd: low level support for isp4 firmware Bin Du
2025-12-16  9:13 ` [PATCH v7 3/7] media: platform: amd: Add isp4 fw and hw interface Bin Du
2025-12-22  9:37   ` Sakari Ailus
2026-01-07  8:44     ` Du, Bin
2026-01-14 20:55       ` Sakari Ailus
2026-01-15  2:24         ` Du, Bin
2026-01-20  9:22       ` Du, Bin
2026-01-27  8:38         ` Du, Bin
2026-02-02  9:10         ` Sakari Ailus
2026-02-03  6:37           ` Du, Bin [this message]
2025-12-16  9:13 ` [PATCH v7 4/7] media: platform: amd: isp4 subdev and firmware loading handling added Bin Du
2025-12-22 10:11   ` Sakari Ailus
2026-01-07  7:33     ` Sultan Alsawaf
2026-01-14 21:03       ` Sakari Ailus
2026-01-14 21:08         ` Mario Limonciello
2026-01-15  5:56           ` Du, Bin
2026-01-15  7:21         ` Sultan Alsawaf
2026-01-20  9:29           ` Du, Bin
2026-01-27  8:39             ` Du, Bin
2026-01-15 10:36         ` Du, Bin
2026-01-14 10:34     ` Du, Bin
2026-01-14 21:07       ` Sakari Ailus
2026-01-15  7:51         ` Du, Bin
2026-01-14  9:45   ` Markus Elfring
2025-12-16  9:13 ` [PATCH v7 5/7] media: platform: amd: isp4 video node and buffers " Bin Du
2025-12-22 17:07   ` Sakari Ailus
2026-01-09 10:08     ` Du, Bin
2026-01-29 21:17       ` Sakari Ailus
2026-02-03  6:32         ` Du, Bin
2025-12-16  9:13 ` [PATCH v7 6/7] media: platform: amd: isp4 debug fs logging and more descriptive errors Bin Du
2025-12-16  9:13 ` [PATCH v7 7/7] Documentation: add documentation of AMD isp 4 driver Bin Du
2025-12-17  7:36 ` [PATCH v7 0/7] Add AMD ISP4 driver Sultan Alsawaf
2025-12-17  7:47   ` Du, Bin
2025-12-17 10:29 ` Du, Bin
2025-12-17 11:04   ` Sakari Ailus
2025-12-31  9:03 ` Kate Hsuan
2026-01-06  5:49   ` Kate Hsuan
2026-01-06  8:35     ` Du, Bin
2026-01-13 14:11       ` Kate Hsuan
2026-01-13 17:14         ` Nirujogi, Pratap
2026-01-14  8:59           ` Kate Hsuan
2026-01-15  6:47             ` Du, Bin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa7a7f95-95f8-4ab9-a076-7207138c36fe@amd.com \
    --to=bin.du@amd.com \
    --cc=Dominic.Antony@amd.com \
    --cc=Phil.Jawich@amd.com \
    --cc=anson.tsao@amd.com \
    --cc=benjamin.chan@amd.com \
    --cc=bryan.odonoghue@linaro.org \
    --cc=gjorgji.rosikopulos@amd.com \
    --cc=hverkuil@xs4all.nl \
    --cc=king.li@amd.com \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=mchehab@kernel.org \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=pratap.nirujogi@amd.com \
    --cc=richard.gong@amd.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sultan@kerneltoast.com \
    --cc=xglooom@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®