]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/nv40: fix tiling-related setup for a number of chipsets
authorBen Skeggs <bskeggs@redhat.com>
Mon, 7 Feb 2011 00:49:39 +0000 (10:49 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 16 Feb 2011 23:40:34 +0000 (09:40 +1000)
commit1dc32671d887f05844315e4105ad4c783299ac8f
tree0dabed54858b90cafd383a97914eb2d6c91728f2
parent0d9b6193bcc335fb05a26af5b11a0d76b70cb1a4
drm/nv40: fix tiling-related setup for a number of chipsets

Due to the default case handling the older chipsets, a bunch of the newer
ones ended up having the wrong tiling regs used.  This commit switches the
default case to handle the newest chipsets.

This also makes nv4e touch the "extra" tiling regs.  "nv" doesn't touch
them for C51 but traces of the NVIDIA binary driver show it being done
there.

I couldn't find NV41/NV45 traces to confirm the behaviour there, but an
educated guess was taken at each of them.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv40_graph.c