Ben Skeggs
ea94c8e217
drm/nouveau: move allocation of root client out of nouveau_cli_init()
...
drm->master isn't really a nouveau_cli, and is mostly just used to get
at an nvif_mmu object to implement a hack around issues with the ioctl
interface to nvkm.
Later patches in this series allocate nvif_device/mmu objects in
nouveau_drm directly, removing the need for master.
A pending series to remove the "ioctl" layer between DRM and NVKM
removes the need for the above-mentioned hack entirely.
The only other member of drm->master that's needed is the nvif_client,
and is a dependency of device/mmu. So the first step is to move its
allocation out of code handling nouveau_cli init.
v2:
- modified slightly due to the addition of tegra/pci cleanup patches
v3:
- move nvif init below drm_dev_alloc() to avoid changing nouveau_name()
Signed-off-by: Ben Skeggs <bskeggs@nvidia.com >
Signed-off-by: Danilo Krummrich <dakr@kernel.org >
Link: https://patchwork.freedesktop.org/patch/msgid/20240726043828.58966-7-bskeggs@nvidia.com
2024-07-27 03:05:21 +02:00
..
2024-07-25 14:05:12 +02:00
2024-05-27 11:08:31 +02:00
2024-04-25 17:05:48 +03:00
2024-07-03 09:38:23 +02:00
2024-05-30 15:47:55 +02:00
2024-07-25 12:13:22 +02:00
2024-07-25 21:04:05 -03:00
2024-07-23 15:45:39 -04:00
2024-07-25 14:05:12 +02:00
2024-06-27 11:52:04 +02:00
2024-05-27 11:08:31 +02:00
2024-06-10 12:44:39 +02:00
2024-05-27 15:31:18 +03:00
2024-05-02 11:33:17 +02:00
2024-05-13 19:10:57 +02:00
2024-06-10 12:44:39 +02:00
2024-07-25 14:05:12 +02:00
2024-05-27 17:25:49 +03:00
2024-05-27 11:08:31 +02:00
2024-07-25 14:05:12 +02:00
2024-05-27 15:31:36 +03:00
2024-06-26 11:11:43 +02:00
2024-06-06 10:27:44 +02:00
2024-07-19 11:12:19 +02:00
2024-05-22 20:14:47 -04:00
2024-07-16 20:15:31 +02:00
2024-07-27 03:05:21 +02:00
2024-05-27 11:08:31 +02:00
2024-07-26 10:15:24 -07:00
2024-07-25 14:05:12 +02:00
2024-07-25 14:05:12 +02:00
2024-06-26 15:32:03 +02:00
2024-05-27 11:08:31 +02:00
2024-05-27 11:08:31 +02:00
2024-06-27 11:52:04 +02:00
2024-07-25 14:05:12 +02:00
2024-05-02 11:33:18 +02:00
2024-07-05 13:18:36 +02:00
2024-07-19 12:58:05 +02:00
2024-06-10 12:44:41 +02:00
2024-07-08 13:55:03 -07:00
2024-07-25 14:38:09 +02:00
2024-06-18 10:06:35 +02:00
2024-04-10 14:27:00 +03:00
2024-06-10 12:44:32 +02:00
2024-07-23 09:52:23 +02:00
2024-06-10 12:44:39 +02:00
2024-07-25 14:05:12 +02:00
2024-05-02 11:33:32 +02:00
2024-06-20 10:02:41 +02:00
2024-05-27 11:08:31 +02:00
2024-07-07 15:03:54 -03:00
2024-05-27 11:08:31 +02:00
2024-07-09 12:39:33 +02:00
2024-04-25 20:55:49 -07:00
2024-06-17 10:38:18 +03:00
2024-04-15 16:11:26 +02:00
2024-05-28 10:24:37 +02:00
2024-05-28 10:24:38 +02:00
2024-07-18 13:33:09 +02:00
2024-07-18 13:20:16 +02:00
2024-05-20 06:42:12 +10:00
2024-04-22 14:35:52 +10:00
2024-05-02 14:30:31 +10:00
2024-07-10 16:58:19 -04:00
2024-04-15 16:22:50 +03:00
2024-07-20 00:54:37 +02:00
2024-04-15 16:22:50 +03:00
2024-06-12 10:56:57 +03:00
2024-04-22 11:38:11 +03:00
2024-04-17 16:11:28 +03:00
2024-05-08 15:31:58 +03:00
2024-05-23 14:37:24 +03:00
2024-04-17 16:11:17 +03:00
2024-05-02 23:39:21 +02:00
2024-07-19 11:38:23 +02:00
2024-05-15 14:50:20 +02:00
2024-05-15 14:50:46 +02:00
2024-05-02 11:33:32 +02:00
2024-04-19 17:36:49 +02:00
2024-04-02 09:51:30 +02:00
2024-04-17 16:11:17 +03:00
2024-05-10 20:56:12 +03:00
2024-07-03 10:11:03 +02:00
2024-06-10 12:44:39 +02:00
2024-05-17 21:36:19 +02:00
2024-06-06 10:24:13 -04:00
2024-07-18 15:39:54 +02:00
2024-05-28 09:57:28 +02:00
2024-06-18 11:13:30 +02:00
2024-06-10 12:44:39 +02:00
2024-07-22 09:00:58 -07:00
2024-07-20 00:54:37 +02:00
2024-04-22 11:42:32 +03:00
2024-03-28 19:52:22 +01:00
2024-06-06 14:46:15 -04:00
2024-06-18 11:13:30 +02:00
2024-06-10 12:44:39 +02:00
2024-05-23 14:37:24 +03:00
2024-04-18 13:27:56 +03:00
2024-07-26 17:40:10 -04:00
2024-07-19 11:38:24 +02:00
2024-05-02 11:33:32 +02:00