On Wednesday, November 11, 2026 12:19 AM Joshua Crofts wrote:
> Since commit d1706f9da9f4 ("PM: runtime: call 
> pm_runtime_dont_use_autosuspend() on reinit()"),
> driver core is now responsible for undoing any
> pm_runtime_use_autosuspend() calls on driver exit.
> 
> Remove the redundant function calls.
> 
> Signed-off-by: Joshua Crofts <[email protected]>
> ---
>  drivers/gpu/drm/tegra/nvdec.c | 1 -
>  drivers/gpu/drm/tegra/nvjpg.c | 1 -
>  drivers/gpu/drm/tegra/vic.c   | 1 -
>  3 files changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/tegra/nvdec.c b/drivers/gpu/drm/tegra/nvdec.c
> index 
> 18a8f6e4ced083ee94cf1611223b7ef507e0b7f6..98a94423b0e2099b9f8330f73dee8f534564078f
>  100644
> --- a/drivers/gpu/drm/tegra/nvdec.c
> +++ b/drivers/gpu/drm/tegra/nvdec.c
> @@ -212,7 +212,6 @@ static int nvdec_exit(struct host1x_client *client)
>       if (err < 0)
>               return err;
>  
> -     pm_runtime_dont_use_autosuspend(client->dev);
>       pm_runtime_force_suspend(client->dev);
>  
>       host1x_syncpt_put(client->syncpts[0]);
> diff --git a/drivers/gpu/drm/tegra/nvjpg.c b/drivers/gpu/drm/tegra/nvjpg.c
> index 
> e302a8d1f6e7fdbcd7f14881525b4a2e1a422361..09679bb0c75767ff1471134a478b5985b2c0ee5c
>  100644
> --- a/drivers/gpu/drm/tegra/nvjpg.c
> +++ b/drivers/gpu/drm/tegra/nvjpg.c
> @@ -82,7 +82,6 @@ static int nvjpg_exit(struct host1x_client *client)
>       if (err < 0)
>               return err;
>  
> -     pm_runtime_dont_use_autosuspend(client->dev);
>       pm_runtime_force_suspend(client->dev);
>  
>       host1x_client_iommu_detach(client);
> diff --git a/drivers/gpu/drm/tegra/vic.c b/drivers/gpu/drm/tegra/vic.c
> index 
> 3c2b1ff55deb7f407d2a5995a5dff302cf37f7d5..9648c3d0176bbfd9efbb3c49c8bd9c74e3df9d0e
>  100644
> --- a/drivers/gpu/drm/tegra/vic.c
> +++ b/drivers/gpu/drm/tegra/vic.c
> @@ -205,7 +205,6 @@ static int vic_exit(struct host1x_client *client)
>       if (err < 0)
>               return err;
>  
> -     pm_runtime_dont_use_autosuspend(client->dev);
>       pm_runtime_force_suspend(client->dev);
>  
>       host1x_syncpt_put(client->syncpts[0]);
> 
> ---
> base-commit: b3dfbde62cf1981c4638939c159dfd087b7a72e9
> change-id: 20261110-tegra-remove-dont-use-autosuspend-caaf082f8c2f
> 
> Best regards,
> -- 
> Joshua Crofts <[email protected]>
> 
> 

Nice cleanup, thank you!

Reviewed-by: Mikko Perttunen <[email protected]>



Reply via email to