diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-05-18 06:57:42 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-02-17 08:15:04 +0300 |
commit | 1167c6bc51880cb74a3b1a02286fc25392684281 (patch) | |
tree | ab703a0c452e5123806a2e1269455a6bdde939e0 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 80e60973b2494a0c51b2c84847f3faeffed595f0 (diff) | |
download | linux-1167c6bc51880cb74a3b1a02286fc25392684281.tar.xz |
drm/nouveau: allocate device object for every client
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index ac36bef12749..92c8b20f6229 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -89,6 +89,8 @@ struct nouveau_cli { struct drm_device *dev; struct mutex mutex; + struct nvif_device device; + struct nvkm_vm *vm; /*XXX*/ struct list_head head; void *abi16; @@ -112,7 +114,6 @@ struct nouveau_drm { struct nouveau_cli client; struct drm_device *dev; - struct nvif_device device; struct list_head clients; struct { |