summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_abi16.h
diff options
context:
space:
mode:
authorBen Skeggs2015-08-20 06:54:16 +0200
committerBen Skeggs2015-08-28 04:40:32 +0200
commitf58ddf9581655d3fea51465f06f292d365af9c87 (patch)
tree462e8b87f5048d1d03995bf121da85476979fb52 /drivers/gpu/drm/nouveau/nouveau_abi16.h
parentdrm/nouveau/nvif: use negative oclass identifier for internal classes (diff)
downloadkernel-qcow2-linux-f58ddf9581655d3fea51465f06f292d365af9c87.tar.gz
kernel-qcow2-linux-f58ddf9581655d3fea51465f06f292d365af9c87.tar.xz
kernel-qcow2-linux-f58ddf9581655d3fea51465f06f292d365af9c87.zip
drm/nouveau/nvif: assign internal class identifiers to sw classes
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_abi16.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_abi16.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.h b/drivers/gpu/drm/nouveau/nouveau_abi16.h
index b8acfd787d54..6584557afa40 100644
--- a/drivers/gpu/drm/nouveau/nouveau_abi16.h
+++ b/drivers/gpu/drm/nouveau/nouveau_abi16.h
@@ -37,7 +37,7 @@ struct nouveau_drm;
struct nouveau_abi16 *nouveau_abi16_get(struct drm_file *, struct drm_device *);
int nouveau_abi16_put(struct nouveau_abi16 *, int);
void nouveau_abi16_fini(struct nouveau_abi16 *);
-u16 nouveau_abi16_swclass(struct nouveau_drm *);
+s32 nouveau_abi16_swclass(struct nouveau_drm *);
#define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1)
#define NOUVEAU_GEM_DOMAIN_GART (1 << 2)