drm/nouveau: make fifo.create_context() responsible for mapping control regs
authorBen Skeggs <bskeggs@redhat.com>
Mon, 22 Nov 2010 06:05:54 +0000 (16:05 +1000)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 8 Dec 2010 02:00:34 +0000 (03:00 +0100)
commitd908175cca901b95ba1628428b216e6e7188e8fb
tree720e95c36101ca4fa2d46792c58bd2456c2df8db
parent395a31ec7ed9b02c5412f4405acbd6fceacca0fc
drm/nouveau: make fifo.create_context() responsible for mapping control regs

The regs belong to PFIFO, they're different for pretty much the same
generations we need different PFIFO control for, and NVC0 is going
to be even more different than the rest.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_channel.c
drivers/gpu/drm/nouveau/nv04_fifo.c
drivers/gpu/drm/nouveau/nv10_fifo.c
drivers/gpu/drm/nouveau/nv40_fifo.c
drivers/gpu/drm/nouveau/nv50_fifo.c