]> www.infradead.org Git - nvme.git/commit
gpu: host1x: Add locking in channel allocation
authorMikko Perttunen <mperttunen@nvidia.com>
Fri, 1 Sep 2023 11:15:07 +0000 (14:15 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 11 Oct 2023 20:52:43 +0000 (22:52 +0200)
commit9764723de613d93b72e95923d25d589f539f07e9
treee7b9367c749506b05ac520a45c299737bd7413bb
parentf170bed50f9bbc4b03673f40c91f84d4d0258409
gpu: host1x: Add locking in channel allocation

Add locking around channel allocation to avoid race conditions.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230901111510.663401-1-cyndis@kapsi.fi
drivers/gpu/host1x/channel.c
drivers/gpu/host1x/channel.h