]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: fix m2mf copy to tiled gart
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 12 Nov 2013 12:34:08 +0000 (13:34 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jan 2014 03:38:25 +0000 (13:38 +1000)
commitf1b8e1efc34ffa380cdf6a548bd1f9550182383b
tree936d958eb0c095fb41030bf77899e4bcb7f67b83
parentb44c84eb04d1d230177f5218996855e83c301101
drm/nouveau: fix m2mf copy to tiled gart

Commit 27cc2663101fda8 introduced tiled GART, but a linear copy is
still performed. This may result in errors on eviction, fix it by
checking tiling from memtype.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: stable@vger.kernel.org #3.10+
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c