diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-09 14:10:23 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-09 15:13:15 -0400 |
commit | f45f55c4bbf8a9f9c607e5f6013abac60427e3f7 (patch) | |
tree | 17aa46b435a9708f6c8331796afdd83c750322c6 /drivers/gpu/drm/nouveau/nouveau_abi16.c | |
parent | 0ad72863ea426d46b2786cba9430e122a40aad0b (diff) |
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) | |||
301 | if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) { | 301 | if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) { |
302 | init->subchan[0].handle = 0x00000000; | 302 | init->subchan[0].handle = 0x00000000; |
303 | init->subchan[0].grclass = 0x0000; | 303 | init->subchan[0].grclass = 0x0000; |
304 | init->subchan[1].handle = NvSw; | 304 | init->subchan[1].handle = chan->chan->nvsw.handle; |
305 | init->subchan[1].grclass = 0x506e; | 305 | init->subchan[1].grclass = 0x506e; |
306 | init->nr_subchan = 2; | 306 | init->nr_subchan = 2; |
307 | } | 307 | } |