| From b3a8eafc2c148facbabf2679e74c6609881ab14e Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Fri, 8 Aug 2025 13:10:14 +0200 |
| Subject: accel/ivpu: Make function parameter names consistent |
| |
| From: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> |
| |
| [ Upstream commit cf87f93847dea607e8a35983cb006ef8493f8065 ] |
| |
| Make ivpu_hw_btrs_dct_set_status() and ivpu_fw_boot_params_setup() |
| declaration and definition parameter names consistent. |
| |
| Reviewed-by: Lizhi Hou <lizhi.hou@amd.com> |
| Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> |
| Link: https://lore.kernel.org/r/20250808111014.328607-1-jacek.lawrynowicz@linux.intel.com |
| Stable-dep-of: aa1c2b073ad2 ("accel/ivpu: Fix DCT active percent format") |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| 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 1d0b2bd9d65cf..e6a1a1d0960c7 100644 |
| --- a/drivers/accel/ivpu/ivpu_fw.h |
| +++ b/drivers/accel/ivpu/ivpu_fw.h |
| @@ -44,7 +44,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 3855e2df1e0c8..7650f15b7ffa4 100644 |
| --- a/drivers/accel/ivpu/ivpu_hw_btrs.h |
| +++ b/drivers/accel/ivpu/ivpu_hw_btrs.h |
| @@ -35,7 +35,7 @@ u32 ivpu_hw_btrs_dpu_max_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); |
| 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); |
| -- |
| 2.51.0 |
| |