]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/nouveau/nouveau/ttm: fix tiled system memory with Maxwell
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 9 Jul 2015 08:15:14 +0000 (17:15 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 28 Jul 2015 07:22:13 +0000 (17:22 +1000)
commiteb48b12ee5e05dd3ea473d008873f5228a63eb7a
tree3a956a8488c05d13110145f6d9db88e67858f0ae
parent697bb728d9e2367020aa0c5af7363809d7658e43
drm/nouveau/nouveau/ttm: fix tiled system memory with Maxwell

Add Maxwell to the switch statement that sets node->memtype, otherwise
all tiling information is ignored for buffers in system memory.

While we are at it, make that switch statement explicitly complain the
next time we meet a non-handled card family.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_ttm.c