Files
linux/drivers/gpu/drm
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-05-27 11:08:31 +02:00
2024-07-25 21:04:05 -03:00
2024-05-02 11:33:17 +02:00
2024-07-26 10:15:24 -07:00
2024-06-26 15:32:03 +02:00
2024-05-02 11:33:18 +02:00
2024-07-19 12:58:05 +02:00
2024-06-18 10:06:35 +02:00
2024-04-25 20:55:49 -07:00
2024-06-17 10:38:18 +03:00
2024-05-08 15:31:58 +03:00
2024-06-06 14:46:15 -04:00