-
由 Jon Hunter 提交于
Commit bbb163e1 ("drm/nouveau/bar: implement bar1 teardown") introduced add a teardown helper function for BAR1. During initialisation of the Nouveau, initially all the teardown helpers are called once, before calling their init counterparts. For gk20a, after the BAR1 teardown function is called, the device is hanging during the initialisation of the FB sub-device. At this point it is unclear why this is happening and this is still under investigation. However, this change is preventing Tegra124 devices from booting when Nouveau is enabled. To allow Tegra124 to boot, remove the teardown helper for gk20a. This is based upon a previous patch by Guillaume Tucker but limits the workaround to only gk20a GPUs. Fixes: bbb163e1 ("drm/nouveau/bar: implement bar1 teardown") Reported-by: NGuillaume Tucker <guillaume.tucker@collabora.com> Signed-off-by: NJon Hunter <jonathanh@nvidia.com> Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
e062a01e