drm/nouveau: store a per-client channel list
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Jun 2011 09:18:48 +0000 (19:18 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jun 2011 05:58:25 +0000 (15:58 +1000)
commite8a863c10f4ca47e942886dddf70c35e3c2d5dd6
treede8d37eb9e33f93c09600e440722a55e355db6b1
parentf8656f0baa316d1f08e224248e0b40ade85a4e80
drm/nouveau: store a per-client channel list

Removes the need to disable IRQs to lookup channel struct on every pushbuf
ioctl, among others.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_channel.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/nouveau/nouveau_notifier.c
drivers/gpu/drm/nouveau/nouveau_object.c
drivers/gpu/drm/nouveau/nouveau_state.c