drm/nouveau: allocate device object for every client
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
此提交包含在:
@@ -259,8 +259,9 @@ nouveau_debugfs_init(struct nouveau_drm *drm)
|
||||
if (!drm->debugfs)
|
||||
return -ENOMEM;
|
||||
|
||||
ret = nvif_object_init(&drm->device.object, 0, NVIF_CLASS_CONTROL,
|
||||
NULL, 0, &drm->debugfs->ctrl);
|
||||
ret = nvif_object_init(&drm->client.device.object, 0,
|
||||
NVIF_CLASS_CONTROL, NULL, 0,
|
||||
&drm->debugfs->ctrl);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
新增問題並參考
封鎖使用者