]> git.baikalelectronics.ru Git - 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)
commit6e77b1e44d53d6715c0e2dee8823189b0b91e4c8
tree3a956a8488c05d13110145f6d9db88e67858f0ae
parent5ffb134c619cbeee64666076234239054a1b27ba
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