summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/engine/sw/nv50.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-11-08 10:18:19 +1000
committerBen Skeggs <bskeggs@redhat.com>2016-01-11 11:15:09 +1000
commita2000d677f4b700d8cd9d469edf915af596b284d (patch)
tree639a2830c2eef97d96612dd8fe88f3c982493609 /drm/nouveau/nvkm/engine/sw/nv50.c
parentae710e2025947292942fc28fd6039cd77a54aba3 (diff)
downloadnouveau-a2000d677f4b700d8cd9d469edf915af596b284d.tar.gz
nvif: move internal class identifiers to class.h
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/nvkm/engine/sw/nv50.c')
-rw-r--r--drm/nouveau/nvkm/engine/sw/nv50.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drm/nouveau/nvkm/engine/sw/nv50.c b/drm/nouveau/nvkm/engine/sw/nv50.c
index a381196af..01573d187 100644
--- a/drm/nouveau/nvkm/engine/sw/nv50.c
+++ b/drm/nouveau/nvkm/engine/sw/nv50.c
@@ -28,8 +28,8 @@
#include <engine/fifo/chan.h>
#include <subdev/bar.h>
+#include <nvif/class.h>
#include <nvif/event.h>
-#include <nvif/ioctl.h>
/*******************************************************************************
* software context
@@ -136,7 +136,7 @@ static const struct nvkm_sw_func
nv50_sw = {
.chan_new = nv50_sw_chan_new,
.sclass = {
- { nvkm_nvsw_new, { -1, -1, NVIF_IOCTL_NEW_V0_SW_NV50 } },
+ { nvkm_nvsw_new, { -1, -1, NVIF_CLASS_SW_NV50 } },
{}
}
};