09.11.2021 17:08, Dmitry Osipenko пишет:
+static void host1x_drm_dev_deinit(struct host1x_device *dev) +{
- struct drm_device *drm = dev_get_drvdata(&dev->dev);
And platform_unregister_drivers() should be moved here.
Nah, that should cause deadlock. This ad-hoc is too lame.
Another solution is to defer probing of DP AUX driver while tegra_drm_device() returns NULL, but it's icky.
Reverting the original DP AUX DDC registration order is the best option so far, IMO.