summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_chan.c
diff options
context:
space:
mode:
authorBen Skeggs2015-11-08 01:18:19 +0100
committerBen Skeggs2016-01-11 02:17:40 +0100
commit08f7633c1de8007c3735764d5ca0c1bde4239b84 (patch)
treee7822b91fe7353021b43b698ba582809faa8de93 /drivers/gpu/drm/nouveau/nouveau_chan.c
parentdrm/nouveau/gr/gm107-: make use of gpc_addr() macro for tpc ramchain setup (diff)
downloadkernel-qcow2-linux-08f7633c1de8007c3735764d5ca0c1bde4239b84.tar.gz
kernel-qcow2-linux-08f7633c1de8007c3735764d5ca0c1bde4239b84.tar.xz
kernel-qcow2-linux-08f7633c1de8007c3735764d5ca0c1bde4239b84.zip
drm/nouveau/nvif: move internal class identifiers to class.h
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_chan.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_chan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.c b/drivers/gpu/drm/nouveau/nouveau_chan.c
index 1860f389f21f..0a853ad5a21f 100644
--- a/drivers/gpu/drm/nouveau/nouveau_chan.c
+++ b/drivers/gpu/drm/nouveau/nouveau_chan.c
@@ -378,7 +378,7 @@ nouveau_channel_init(struct nouveau_channel *chan, u32 vram, u32 gart)
/* allocate software object class (used for fences on <= nv05) */
if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) {
ret = nvif_object_init(&chan->user, 0x006e,
- NVIF_IOCTL_NEW_V0_SW_NV04,
+ NVIF_CLASS_SW_NV04,
NULL, 0, &chan->nvsw);
if (ret)
return ret;