gpu: host1x-nvhost: Remove unused argument

The integer argument returned by the NVHOST interrupt notifier has never
been supported by the host1x-nvhost driver. The DLA driver's
nvdla_queue_update() function that is called by this notifier has been
update so that it no longer uses this argument. Given that there are no
other users of this notifier for the host1x-nvhost driver, let's remove
this unused variable.

Bug 4059530

Change-Id: I04dda2ea7338f0c7ee55e6e968b46f063eecae90
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2892312
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-by: Mitch Harwell <mharwell@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Jon Hunter
2023-04-06 13:35:52 +01:00
committed by mobile promotions
parent 45992044df
commit 0f857d6cff
3 changed files with 19 additions and 6 deletions

View File

@@ -491,15 +491,14 @@ dma_addr_t nvhost_syncpt_address(struct platform_device *engine_pdev, u32 id);
int nvhost_syncpt_unit_interface_init(struct platform_device *pdev);
void nvhost_syncpt_unit_interface_deinit(struct platform_device *pdev);
#ifdef CONFIG_TEGRA_HOST1X
/* public host1x interrupt management APIs */
int nvhost_intr_register_notifier(struct platform_device *pdev,
u32 id, u32 thresh,
void (*callback)(void *, int),
void (*callback)(void *),
void *private_data);
/* public host1x sync-point management APIs */
#ifdef CONFIG_TEGRA_HOST1X
struct host1x *nvhost_get_host1x(struct platform_device *pdev);
static inline struct flcn *get_flcn(struct platform_device *pdev)
@@ -636,6 +635,11 @@ static inline void nvhost_eventlib_log_fences(struct platform_device *pdev,
{
}
#else
/* public host1x interrupt management APIs */
int nvhost_intr_register_notifier(struct platform_device *pdev,
u32 id, u32 thresh,
void (*callback)(void *, int),
void *private_data);
#ifdef CONFIG_DEBUG_FS
void nvhost_register_dump_device(