Skip to contentSkip to conversation

platform: disable probe of GM20B

PATCH In review Alexandre Courbot 2 participants 2 messages Mar 31, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform: disable probe of GM20B

On 4.6, probing GM20B will freeze the system because of a missing clock that Nouveau must also enable. Since the DT bindings for this clock did not make it in time for 4.6, disable it for now.

---
Ben, sorry for that, but could you take this for one of the next -rc? I will re-enable GM20B once the DT bindings have landed. Thanks!

 drm/nouveau/nouveau_platform.c | 4 ----
 1 file changed, 4 deletions(-)
drm/nouveau/nouveau_platform.c +0 -4
index 2dfe58af12e4..af9ee2de4c4d 100644
@@ -60,10 +60,6 @@ static const struct of_device_id nouveau_platform_match[] = {
 		.compatible = "nvidia,gk20a",
 		.data = &gk20a_platform_data,
 	},
-	{
-		.compatible = "nvidia,gm20b",
-		.data = &gk20a_platform_data,
-	},
 	{ }
 };
 
Signature · 6 lines
2.7.3

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
#2 lore raw
In reply to a message not in the archive

Mmm actually I think we can get the same result if we just try and probe the clock in question - it will fail for 4.6, but at least it will not crash. Withdrawing this patch.

Quoted 28 lines · Alexandre Courbot

On 4.6, probing GM20B will freeze the system because of a missing clock that Nouveau must also enable. Since the DT bindings for this clock did not make it in time for 4.6, disable it for now.

---
Ben, sorry for that, but could you take this for one of the next -rc? I will re-enable GM20B once the DT bindings have landed. Thanks!

 drm/nouveau/nouveau_platform.c | 4 ----
 1 file changed, 4 deletions(-)
drm/nouveau/nouveau_platform.c +0 -5
index 2dfe58af12e4..af9ee2de4c4d 100644
@@ -60,10 +60,6 @@ static const struct of_device_id nouveau_platform_match[] = {
                .compatible = "nvidia,gk20a",
                .data = &gk20a_platform_data,
        },
-       {
-               .compatible = "nvidia,gm20b",
-               .data = &gk20a_platform_data,
-       },
        { }
 };
 
--
Quoted 2 lines

2.7.3

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau