diff options
author | Ben Skeggs | 2014-08-09 20:10:23 +0200 |
---|---|---|
committer | Ben Skeggs | 2014-08-09 21:13:15 +0200 |
commit | f45f55c4bbf8a9f9c607e5f6013abac60427e3f7 (patch) | |
tree | 17aa46b435a9708f6c8331796afdd83c750322c6 /drivers/gpu/drm/nouveau/nouveau_abi16.c | |
parent | drm/nouveau: port to nvif client/device/objects (diff) | |
download | kernel-qcow2-linux-f45f55c4bbf8a9f9c607e5f6013abac60427e3f7.tar.gz kernel-qcow2-linux-f45f55c4bbf8a9f9c607e5f6013abac60427e3f7.tar.xz kernel-qcow2-linux-f45f55c4bbf8a9f9c607e5f6013abac60427e3f7.zip |
drm/nouveau: remove (most) hardcoded object handle usage
The PFIFO<->EVO sync buffers will be fixed up later when inter-channel
sync in general is improved.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_abi16.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_abi16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c index ae794625a5b8..dbba603d50c2 100644 --- a/drivers/gpu/drm/nouveau/nouveau_abi16.c +++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c @@ -301,7 +301,7 @@ nouveau_abi16_ioctl_channel_alloc(ABI16_IOCTL_ARGS) if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) { init->subchan[0].handle = 0x00000000; init->subchan[0].grclass = 0x0000; - init->subchan[1].handle = NvSw; + init->subchan[1].handle = chan->chan->nvsw.handle; init->subchan[1].grclass = 0x506e; init->nr_subchan = 2; } |