Displaying 3 results from an estimated 3 matches for "fail_subdev".
2016 Jan 25
4
[PATCH] device: call nvkm_device_fini if nvkm_device_init fails
...ine/device/base.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drm/nouveau/nvkm/engine/device/base.c b/drm/nouveau/nvkm/engine/device/base.c
index b1ba1c782a2b..8ef0ae854038 100644
--- a/drm/nouveau/nvkm/engine/device/base.c
+++ b/drm/nouveau/nvkm/engine/device/base.c
@@ -2261,6 +2261,8 @@ fail_subdev:
} while (--i >= 0);
fail:
+ nvkm_device_fini(device, false);
+
nvdev_error(device, "init failed with %d\n", ret);
return ret;
}
--
2.7.0
2016 Jan 25
0
[PATCH] device: call nvkm_device_fini if nvkm_device_init fails
...ile changed, 2 insertions(+)
>
> diff --git a/drm/nouveau/nvkm/engine/device/base.c b/drm/nouveau/nvkm/engine/device/base.c
> index b1ba1c782a2b..8ef0ae854038 100644
> --- a/drm/nouveau/nvkm/engine/device/base.c
> +++ b/drm/nouveau/nvkm/engine/device/base.c
> @@ -2261,6 +2261,8 @@ fail_subdev:
> } while (--i >= 0);
>
> fail:
> + nvkm_device_fini(device, false);
> +
> nvdev_error(device, "init failed with %d\n", ret);
> return ret;
> }
> --
> 2.7.0
>
> _______________________________________________
> Nou...
2019 Sep 23
8
[PATCH 0/8] Add workaround for fixing runpm
Changes since last sent:
* add a patch to set the device into DRM_SWITCH_POWER_CHANGING state
(can be dropped actually, I thought I was needing it, came up with a
different approach and forgot to delete it, doesn't hurt though)
* expose information about runtime suspending to nvkm so that we can run
the pcie workaround only on runtime suspend
Karol Herbst (8):
pci: disable ASPM