[PATCH] accel/ivpu: Make function parameter names consistent
Lizhi Hou
lizhi.hou at amd.com
Fri Aug 8 16:58:01 UTC 2025
On 8/8/25 04:10, Jacek Lawrynowicz wrote:
> Make ivpu_hw_btrs_dct_set_status() and ivpu_fw_boot_params_setup()
> declaration and definition parameter names consistent.
>
> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz at linux.intel.com>
> ---
> drivers/accel/ivpu/ivpu_fw.h | 2 +-
> drivers/accel/ivpu/ivpu_hw_btrs.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/accel/ivpu/ivpu_fw.h b/drivers/accel/ivpu/ivpu_fw.h
> index 9a3935be1c057..7081913fb0dde 100644
> --- a/drivers/accel/ivpu/ivpu_fw.h
> +++ b/drivers/accel/ivpu/ivpu_fw.h
> @@ -45,7 +45,7 @@ struct ivpu_fw_info {
> int ivpu_fw_init(struct ivpu_device *vdev);
> void ivpu_fw_fini(struct ivpu_device *vdev);
> void ivpu_fw_load(struct ivpu_device *vdev);
> -void ivpu_fw_boot_params_setup(struct ivpu_device *vdev, struct vpu_boot_params *bp);
> +void ivpu_fw_boot_params_setup(struct ivpu_device *vdev, struct vpu_boot_params *boot_params);
>
> static inline bool ivpu_fw_is_cold_boot(struct ivpu_device *vdev)
> {
> diff --git a/drivers/accel/ivpu/ivpu_hw_btrs.h b/drivers/accel/ivpu/ivpu_hw_btrs.h
> index d2d82651976d1..032c384ac3d4d 100644
> --- a/drivers/accel/ivpu/ivpu_hw_btrs.h
> +++ b/drivers/accel/ivpu/ivpu_hw_btrs.h
> @@ -36,7 +36,7 @@ u32 ivpu_hw_btrs_dpu_freq_get(struct ivpu_device *vdev);
> bool ivpu_hw_btrs_irq_handler_mtl(struct ivpu_device *vdev, int irq);
> bool ivpu_hw_btrs_irq_handler_lnl(struct ivpu_device *vdev, int irq);
> int ivpu_hw_btrs_dct_get_request(struct ivpu_device *vdev, bool *enable);
> -void ivpu_hw_btrs_dct_set_status(struct ivpu_device *vdev, bool enable, u32 dct_percent);
> +void ivpu_hw_btrs_dct_set_status(struct ivpu_device *vdev, bool enable, u32 active_percent);
Reviewed-by: Lizhi Hou <lizhi.hou at amd.com>
> u32 ivpu_hw_btrs_telemetry_offset_get(struct ivpu_device *vdev);
> u32 ivpu_hw_btrs_telemetry_size_get(struct ivpu_device *vdev);
> u32 ivpu_hw_btrs_telemetry_enable_get(struct ivpu_device *vdev);
More information about the dri-devel
mailing list