Files
linux/drivers/gpu/drm
Prateek Agarwal 2e78580e6e drm/tegra: Add call to put_pid()
[ Upstream commit 6cbab9f0da72b4dc3c3f9161197aa3b9daa1fa3a ]

Add a call to put_pid() corresponding to get_task_pid().
host1x_memory_context_alloc() does not take ownership of the PID so we
need to free it here to avoid leaking.

Signed-off-by: Prateek Agarwal <praagarwal@nvidia.com>
Fixes: e09db97889 ("drm/tegra: Support context isolation")
[mperttunen@nvidia.com: reword commit message]
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/20250919-host1x-put-pid-v1-1-19c2163dfa87@nvidia.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-01 11:41:46 +01:00
..
2024-12-14 20:00:02 +01:00
2024-08-03 08:53:52 +02:00
2025-12-01 11:41:46 +01:00
2024-01-25 15:35:31 -08:00
2024-03-06 14:48:40 +00:00
2024-01-01 12:42:25 +00:00