public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Bingbu Cao <bingbu.cao@linux.intel.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>, linux-media@vger.kernel.org
Cc: tian.shu.qiu@intel.com, antti.laakso@linux.intel.com,
	mehdi.djait@linux.intel.com
Subject: Re: [PATCH v4 02/14] media: ipu6: Drop MMU hardware initialisation in probe()
Date: Thu, 8 Jan 2026 16:16:41 +0800	[thread overview]
Message-ID: <229c6bb5-eac1-56d4-7cb1-8f25c66defcb@linux.intel.com> (raw)
In-Reply-To: <20260108081712.543704-3-sakari.ailus@linux.intel.com>

Reviewed-by: Bingbu Cao <bingbu.cao@intel.com>

On 1/8/26 4:16 PM, Sakari Ailus wrote:
> The MMU hardware is initialised and cleaned up in the runtime PM resume
> callbacks. Do not do this in probe().
> 
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> ---
>  drivers/media/pci/intel/ipu6/ipu6-isys.c | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/drivers/media/pci/intel/ipu6/ipu6-isys.c b/drivers/media/pci/intel/ipu6/ipu6-isys.c
> index fc0ec0a4b8f5..226bfae21c16 100644
> --- a/drivers/media/pci/intel/ipu6/ipu6-isys.c
> +++ b/drivers/media/pci/intel/ipu6/ipu6-isys.c
> @@ -1070,10 +1070,6 @@ static int isys_probe(struct auxiliary_device *auxdev,
>  	if (!isys->csi2)
>  		return -ENOMEM;
>  
> -	ret = ipu6_mmu_hw_init(adev->mmu);
> -	if (ret)
> -		return ret;
> -
>  	/* initial sensor type */
>  	isys->sensor_type = isys->pdata->ipdata->sensor_type_start;
>  
> @@ -1125,8 +1121,6 @@ static int isys_probe(struct auxiliary_device *auxdev,
>  	if (ret)
>  		goto free_fw_msg_bufs;
>  
> -	ipu6_mmu_hw_cleanup(adev->mmu);
> -
>  	return 0;
>  
>  free_fw_msg_bufs:
> @@ -1148,8 +1142,6 @@ static int isys_probe(struct auxiliary_device *auxdev,
>  	mutex_destroy(&isys->mutex);
>  	mutex_destroy(&isys->stream_mutex);
>  
> -	ipu6_mmu_hw_cleanup(adev->mmu);
> -
>  	return ret;
>  }
>  
> 

-- 
Best regards,
Bingbu Cao

  reply	other threads:[~2026-01-08  8:26 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-08  8:16 [PATCH v4 00/14] IPU6 driver cleanups and fixes Sakari Ailus
2026-01-08  8:16 ` [PATCH v4 01/14] media: ipu6: Ensure stream_mutex is acquired when dealing with node list Sakari Ailus
2026-01-08  8:16 ` [PATCH v4 02/14] media: ipu6: Drop MMU hardware initialisation in probe() Sakari Ailus
2026-01-08  8:16   ` Bingbu Cao [this message]
2026-01-08  8:17 ` [PATCH v4 03/14] media: ipu6: Remove redundant driver data checks Sakari Ailus
2026-01-08  8:17   ` Bingbu Cao
2026-01-08  8:17 ` [PATCH v4 04/14] media: ipu6: Make symbols static Sakari Ailus
2026-01-08  8:17   ` Bingbu Cao
2026-01-08  8:17 ` [PATCH v4 05/14] media: ipu6: Remove redundant streaming start via buffer queueing Sakari Ailus
2026-01-08  8:17 ` [PATCH v4 06/14] media: ipu6: Don't check pipeline in stream_start Sakari Ailus
2026-01-08  8:17   ` Bingbu Cao
2026-01-08  8:17 ` [PATCH v4 07/14] media: ipu6: Close firmware streams on streaming enable failure Sakari Ailus
2026-01-08  8:18   ` Bingbu Cao
2026-01-08  8:17 ` [PATCH v4 08/14] media: ipu6: Always close firmware stream Sakari Ailus
2026-01-08  8:19   ` Bingbu Cao
2026-01-08  8:17 ` [PATCH v4 09/14] media: ipu6: Drop error argument from ipu6_isys_stream_start() Sakari Ailus
2026-01-08  8:19   ` Bingbu Cao
2026-01-08  8:17 ` [PATCH v4 10/14] media: ipu6: Obtain remote pad using media_pad_remote_pad_unique() Sakari Ailus
2026-01-08  8:20   ` Bingbu Cao
2026-01-08  8:17 ` [PATCH v4 11/14] media: ipu6: Obtain unique source pad from remote sub-device Sakari Ailus
2026-01-08  8:20   ` Bingbu Cao
2026-01-08 12:28   ` Mehdi Djait
2026-01-08 12:36     ` Sakari Ailus
2026-01-08  8:17 ` [PATCH v4 12/14] media: ipu6: Remove source_entity from struct ipu6_isys_stream Sakari Ailus
2026-01-08  8:17 ` [PATCH v4 13/14] media: ipu6: Drop custom functions to obtain sd state information Sakari Ailus
2026-01-08  8:22   ` Bingbu Cao
2026-01-08  8:17 ` [PATCH v4 14/14] media: ipu6: Always call video_device_pipeline_alloc_start() Sakari Ailus
2026-01-08 12:44 ` [PATCH v4 00/14] IPU6 driver cleanups and fixes Mehdi Djait

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=229c6bb5-eac1-56d4-7cb1-8f25c66defcb@linux.intel.com \
    --to=bingbu.cao@linux.intel.com \
    --cc=antti.laakso@linux.intel.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mehdi.djait@linux.intel.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=tian.shu.qiu@intel.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