drm/nouveau: have non-core mmio accesses go through device object
authorBen Skeggs <bskeggs@redhat.com>
Mon, 9 Jul 2012 04:14:48 +0000 (14:14 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:12:44 +0000 (13:12 +1000)
commit586c55f6ade73f8672d1eaf598237a6f49b28443
tree8126db70ecd98917344c8d772ad9b16eb4dd1a05
parent9458029940ffc64bca0c5a30ea626c377205842e
drm/nouveau: have non-core mmio accesses go through device object

Adds an extra layer of indirection to each register access, but it's not
too bad, and will also go away as pieces are ported.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/nouveau_compat.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nouveau_compat.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_state.c