]> git.baikalelectronics.ru Git - kernel.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>
Mon, 17 May 2021 10:31:05 +0000 (12:31 +0200)
commit5c6e3bef1b8c83393056b80533ac8b44a2b55d1a
treeffb455cbb0f69981600d42b2c3abdb90f8fe8df1
parentb8415645b7398b19340e03e2e0d4990a69b5ce96
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