]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/tegra: sor: Fully initialize SOR before registration
authorThierry Reding <treding@nvidia.com>
Thu, 1 Apr 2021 15:41:05 +0000 (17:41 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 8 Apr 2021 13:31:31 +0000 (15:31 +0200)
commit0265531f0897f890da3f9c2958707af099c7d974
tree976d9a6ec161aee9cf52609ece1e1111d3f5de8b
parentf566b65628473045cce57e92e9bef027e3685936
drm/tegra: sor: Fully initialize SOR before registration

Before registering the SOR host1x client, make sure that it is fully
initialized. This avoids a potential race condition between the SOR's
probe and the host1x device initialization in cases where the SOR is
the final sub-device to register to a host1x instance.

Reported-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c