diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-04-25 11:43:54 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-04-26 15:38:14 +1000 |
commit | 10caad339c458df47e5a9e16e148087fcde98fec (patch) | |
tree | c704ebc81bd3f904eeda8a281d3c0c7efea072be /drivers/gpu/drm/nouveau/core/include | |
parent | 066a5d0938c64bec665866b145d8538d9f96bcda (diff) | |
download | op-kernel-dev-10caad339c458df47e5a9e16e148087fcde98fec.zip op-kernel-dev-10caad339c458df47e5a9e16e148087fcde98fec.tar.gz |
drm/nouveau/device: tweak the device/subdev relationship a little
Fixes not-in-use engines not having their reset() method called on
resume.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/core/parent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/core/parent.h b/drivers/gpu/drm/nouveau/core/include/core/parent.h index 31cd852..9f5ea90 100644 --- a/drivers/gpu/drm/nouveau/core/include/core/parent.h +++ b/drivers/gpu/drm/nouveau/core/include/core/parent.h @@ -51,8 +51,8 @@ int nouveau_parent_create_(struct nouveau_object *, struct nouveau_object *, void nouveau_parent_destroy(struct nouveau_parent *); void _nouveau_parent_dtor(struct nouveau_object *); -#define _nouveau_parent_init _nouveau_object_init -#define _nouveau_parent_fini _nouveau_object_fini +#define _nouveau_parent_init nouveau_object_init +#define _nouveau_parent_fini nouveau_object_fini int nouveau_parent_sclass(struct nouveau_object *, u16 handle, struct nouveau_object **pengine, |