diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-08-20 14:54:16 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 12:40:32 +1000 |
commit | 315a8b2edf51711857795ba6e02b843d7792b59c (patch) | |
tree | cecd9681f6de04ee9ef80bdf23f76ae1861abd33 /drivers/gpu/drm/nouveau/nvkm/core | |
parent | 5c15bf709eb6fb52c5bcb95d545250dde22f9625 (diff) |
drm/nouveau/nvif: use negative oclass identifier for internal classes
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/core')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/core/parent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/core/parent.c b/drivers/gpu/drm/nouveau/nvkm/core/parent.c index 5c75c64f2270..43abd208b486 100644 --- a/drivers/gpu/drm/nouveau/nvkm/core/parent.c +++ b/drivers/gpu/drm/nouveau/nvkm/core/parent.c @@ -26,7 +26,7 @@ #include <core/engine.h> int -nvkm_parent_sclass(struct nvkm_object *parent, u16 handle, +nvkm_parent_sclass(struct nvkm_object *parent, s32 handle, struct nvkm_object **pengine, struct nvkm_oclass **poclass) { @@ -66,7 +66,7 @@ nvkm_parent_sclass(struct nvkm_object *parent, u16 handle, } int -nvkm_parent_lclass(struct nvkm_object *parent, u32 *lclass, int size) +nvkm_parent_lclass(struct nvkm_object *parent, s32 *lclass, int size) { struct nvkm_oclass *sclass, *oclass; struct nvkm_engine *engine; |